ldap_close is an alias of ldap_unbind, so use unbind() instead.
1
Use getName() instead
1
* @return bool
1
yes this setTypeFromTypeString came deprecated because it exists only for manage setup conversion
1
Use print xxx->showdocuments() instead.
1
Use setDiscount() instead.
1
* @see setCanceled()
1
* @see setDiscount()
1
* @see setPaid()
1
Use parseCurlResponse instead
1
Use getPropertiesIteratorForPath() instead (as it's more memory efficient)
1
Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
1
2.0.0 No longer used by internal code. Please use the Complex\Complex class instead
1
Use the assertSentTimes method instead
1
Use "reduceSpread" instead
1
This is no longer being maintained, it was an experiment at the time.
1
use get_soapbody instead
1
The `save` method is deprecated and will be removed in a
1
in favor on addThrowable
1
in favor on formatThrowableData
1
Use setAsCustomer() instead
1
use set_availability
1
use set_demand_reason
1
Use Product::update instead
1
see getControllerUrl()
1
see main
1
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)
1
search on some categories must be done using a WHERE EXISTS or NOT EXISTS and not a LEFT JOIN
1
Will be removed in v5. Use getDataUri() instead.
1
since SwiftMailer 6.1.0; use Swift_Signers_DKIMSigner instead.
2
Will be removed in a future Laravel version.
2
* @see $date_shipping
2
* @see $civility_code
2
* @see $id
2
No more used (we have info into debit/credit and sens)
2
* @see $subprice
2
* @see $fk_account
2
Use $user_modification_id
2
* @see $date
2
* @see $remise_percent, $fk_remise_except
2
Use $num_payment instead
2
* @see $amount
2
* @see $total_ht
2
*
2
* @see $date_creation
2
* @see $date_validation
2
* @see $total_ttc
2
* @see $product_type
2
Seems not used.
2
Use self::VERSIONS
3
* @see $socid
3
Use $origin_object instead.
3
Use $user_creation_id
3
* @see $ref_supplier
3
Use $label
3
* @see $total_tva
3
* @see $amount, $amounts
4
* @see $status
4
* @see setPaid()
4
* @see setUnpaid()
4
* @see $ref_customer
5
* @see $product_label
5
* @see $label
5
Use setDeliveryDate
5
* @see $product_ref
6
It uses OS language package and strftime() which is deprecated since PHP 8.1.
6
since version 2.6.9
8
see getNextValue
12
* @see $name
27
To avoid conflict between different third-party libraries, static setters should not be used.
30
*/
68
@deprectad
Remove this. A "proforma invoice" is an order with a look of invoice, not an invoice !
write()} and {@link flushBuffers()} operations will be mirrored.
6
http://php.net/manual/en/imap.constants.php
26
http://luracast.com/products/restler/
106
@method
bool hasEmergency($record)
1
bool hasAlert($record)
1
bool hasCritical($record)
1
bool hasError($record)
1
bool hasWarning($record)
1
bool hasNotice($record)
1
bool hasInfo($record)
1
bool hasDebug($record)
1
bool hasEmergencyRecords()
1
bool hasAlertRecords()
1
bool hasCriticalRecords()
1
bool hasErrorRecords()
1
bool hasWarningRecords()
1
bool hasNoticeRecords()
1
bool hasInfoRecords()
1
bool hasDebugRecords()
1
bool hasEmergencyThatContains($message)
1
bool hasAlertThatContains($message)
1
bool hasCriticalThatContains($message)
1
bool hasErrorThatContains($message)
1
bool hasWarningThatContains($message)
1
bool hasNoticeThatContains($message)
1
bool hasInfoThatContains($message)
1
bool hasDebugThatContains($message)
1
bool hasEmergencyThatMatches($message)
1
bool hasAlertThatMatches($message)
1
bool hasCriticalThatMatches($message)
1
bool hasErrorThatMatches($message)
1
bool hasWarningThatMatches($message)
1
bool hasNoticeThatMatches($message)
1
bool hasInfoThatMatches($message)
1
bool hasDebugThatMatches($message)
1
bool hasEmergencyThatPasses($message)
1
bool hasAlertThatPasses($message)
1
bool hasCriticalThatPasses($message)
1
bool hasErrorThatPasses($message)
1
bool hasWarningThatPasses($message)
1
bool hasNoticeThatPasses($message)
1
bool hasInfoThatPasses($message)
1
bool hasDebugThatPasses($message)
1
Ods getParentWriter
1
Swift_SmtpTransport setUsername(string $username) Set the username to authenticate with.
1
string getUsername() Get the username to authenticate with.
1
Swift_SmtpTransport setPassword(string $password) Set the password to authenticate with.
1
string getPassword() Get the password to authenticate with.
1
Swift_SmtpTransport setAuthMode(string $mode) Set the auth mode to use to authenticate.
1
string getAuthMode() Get the auth mode to use to authenticate.
1
static void onGet() onGet(Callable $function) fired before reading the request details
1
static void onRoute() onRoute(Callable $function) fired before finding the api method
1
static void onNegotiate() onNegotiate(Callable $function) fired before content negotiation
1
static void onPreAuthFilter() onPreAuthFilter(Callable $function) fired before pre auth filtering
1
static void onAuthenticate() onAuthenticate(Callable $function) fired before auth
1
static void onPostAuthFilter() onPostAuthFilter(Callable $function) fired before post auth filtering
1
static void onValidate() onValidate(Callable $function) fired before validation
1
static void onCall() onCall(Callable $function) fired before api method call
1
static void onCompose() onCompose(Callable $function) fired before composing response
1
static void onRespond() onRespond(Callable $function) fired before sending response
1
static void onComplete() onComplete(Callable $function) fired after sending response
1
static void onMessage() onMessage(Callable $function) fired before composing error response
1
void onGet() onGet(Callable $function) fired before reading the request details
1
void onRoute() onRoute(Callable $function) fired before finding the api method
1
void onNegotiate() onNegotiate(Callable $function) fired before content negotiation
1
void onPreAuthFilter() onPreAuthFilter(Callable $function) fired before pre auth filtering
1
void onAuthenticate() onAuthenticate(Callable $function) fired before auth
1
void onPostAuthFilter() onPostAuthFilter(Callable $function) fired before post auth filtering
1
void onValidate() onValidate(Callable $function) fired before validation
1
void onCall() onCall(Callable $function) fired before api method call
1
void onCompose() onCompose(Callable $function) fired before composing response
1
void onRespond() onRespond(Callable $function) fired before sending response
1
void onComplete() onComplete(Callable $function) fired after sending response
1
void onMessage() onMessage(Callable $function) fired before composing error response
1
Carbon|false create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null) Create a new Carbon instance from a specific date and time.
1
Carbon createFromDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to now.
1
Carbon|false createFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
1
Carbon|false createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null) Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()).
1
Carbon|false createFromLocaleFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific format and a string in a given language.
1
Carbon|false createFromLocaleIsoFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific ISO format and a string in a given language.
1
Carbon createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) Create a Carbon instance from just a time. The date portion is set to today.
1
Carbon createFromTimeString($time, $tz = null) Create a Carbon instance from a time string. The date portion is set to today.
1
Carbon createFromTimestamp($timestamp, $tz = null) Create a Carbon instance from a timestamp and set the timezone (use default one if not specified).
1
Carbon createFromTimestampMs($timestamp, $tz = null) Create a Carbon instance from a timestamp in milliseconds.
1
Carbon createFromTimestampMsUTC($timestamp) Create a Carbon instance from a timestamp in milliseconds.
1
Carbon createFromTimestampUTC($timestamp) Create a Carbon instance from an timestamp keeping the timezone to UTC.
1
Carbon createMidnightDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to midnight.
1
Carbon|false createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null) Create a new safe Carbon instance from a specific date and time.
1
Carbon disableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
1
Carbon enableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
1
Carbon fromSerialized($value) Create an instance from a serialized string.
1
Closure|Carbon getTestNow() Get the Carbon instance (real or mock) to be returned when a "now"
1
Carbon instance($date) Create a Carbon instance from a DateTime one.
1
Carbon|null make($var) Make a Carbon instance from given variable if possible.
1
Carbon maxValue() Create a Carbon instance for the greatest supported date.
1
Carbon minValue() Create a Carbon instance for the lowest supported date.
1
Carbon now($tz = null) Get a Carbon instance for the current date and time.
1
Carbon parse($time = null, $tz = null) Create a carbon instance from a string.
1
Carbon parseFromLocale($time, $locale = null, $tz = null) Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
1
Carbon|false rawCreateFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
1
Carbon rawParse($time = null, $tz = null) Create a carbon instance from a string.
1
Carbon resetMacros() Remove all macros and generic macros.
1
Carbon setFallbackLocale($locale) Set the fallback locale.
1
Carbon setHumanDiffOptions($humanDiffOptions) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
1
Carbon setTestNow($testNow = null) Set a Carbon instance (real or mock) to be returned when a "now"
1
Carbon setTestNowAndTimezone($testNow = null, $tz = null) Set a Carbon instance (real or mock) to be returned when a "now"
1
Carbon setUtf8($utf8) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
1
Carbon today($tz = null) Create a Carbon instance for today.
1
Carbon tomorrow($tz = null) Create a Carbon instance for tomorrow.
1
Carbon useStrictMode($strictModeEnabled = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
1
Carbon yesterday($tz = null) Create a Carbon instance for yesterday.
1
bool isUtc() Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
1
bool isLocal() Check if the current instance has non-UTC timezone.
1
bool isValid() Check if the current instance is a valid date.
1
bool isDST() Check if the current instance is in a daylight saving time.
1
bool isSunday() Checks if the instance day is sunday.
1
bool isMonday() Checks if the instance day is monday.
1
bool isTuesday() Checks if the instance day is tuesday.
1
bool isWednesday() Checks if the instance day is wednesday.
1
bool isThursday() Checks if the instance day is thursday.
1
bool isFriday() Checks if the instance day is friday.
1
bool isSaturday() Checks if the instance day is saturday.
1
bool isSameYear(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same year as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentYear() Checks if the instance is in the same year as the current moment.
1
bool isNextYear() Checks if the instance is in the same year as the current moment next year.
1
bool isLastYear() Checks if the instance is in the same year as the current moment last year.
1
bool isSameWeek(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same week as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentWeek() Checks if the instance is in the same week as the current moment.
1
bool isNextWeek() Checks if the instance is in the same week as the current moment next week.
1
bool isLastWeek() Checks if the instance is in the same week as the current moment last week.
1
bool isSameDay(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same day as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentDay() Checks if the instance is in the same day as the current moment.
1
bool isNextDay() Checks if the instance is in the same day as the current moment next day.
1
bool isLastDay() Checks if the instance is in the same day as the current moment last day.
1
bool isSameHour(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same hour as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentHour() Checks if the instance is in the same hour as the current moment.
1
bool isNextHour() Checks if the instance is in the same hour as the current moment next hour.
1
bool isLastHour() Checks if the instance is in the same hour as the current moment last hour.
1
bool isSameMinute(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same minute as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentMinute() Checks if the instance is in the same minute as the current moment.
1
bool isNextMinute() Checks if the instance is in the same minute as the current moment next minute.
1
bool isLastMinute() Checks if the instance is in the same minute as the current moment last minute.
1
bool isSameSecond(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same second as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentSecond() Checks if the instance is in the same second as the current moment.
1
bool isNextSecond() Checks if the instance is in the same second as the current moment next second.
1
bool isLastSecond() Checks if the instance is in the same second as the current moment last second.
1
bool isSameMicro(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentMicro() Checks if the instance is in the same microsecond as the current moment.
1
bool isNextMicro() Checks if the instance is in the same microsecond as the current moment next microsecond.
1
bool isLastMicro() Checks if the instance is in the same microsecond as the current moment last microsecond.
1
bool isSameMicrosecond(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentMicrosecond() Checks if the instance is in the same microsecond as the current moment.
1
bool isNextMicrosecond() Checks if the instance is in the same microsecond as the current moment next microsecond.
1
bool isLastMicrosecond() Checks if the instance is in the same microsecond as the current moment last microsecond.
1
bool isCurrentMonth() Checks if the instance is in the same month as the current moment.
1
bool isNextMonth() Checks if the instance is in the same month as the current moment next month.
1
bool isLastMonth() Checks if the instance is in the same month as the current moment last month.
1
bool isCurrentQuarter() Checks if the instance is in the same quarter as the current moment.
1
bool isNextQuarter() Checks if the instance is in the same quarter as the current moment next quarter.
1
bool isLastQuarter() Checks if the instance is in the same quarter as the current moment last quarter.
1
bool isSameDecade(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same decade as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentDecade() Checks if the instance is in the same decade as the current moment.
1
bool isNextDecade() Checks if the instance is in the same decade as the current moment next decade.
1
bool isLastDecade() Checks if the instance is in the same decade as the current moment last decade.
1
bool isSameCentury(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same century as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentCentury() Checks if the instance is in the same century as the current moment.
1
bool isNextCentury() Checks if the instance is in the same century as the current moment next century.
1
bool isLastCentury() Checks if the instance is in the same century as the current moment last century.
1
bool isSameMillennium(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same millennium as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentMillennium() Checks if the instance is in the same millennium as the current moment.
1
bool isNextMillennium() Checks if the instance is in the same millennium as the current moment next millennium.
1
bool isLastMillennium() Checks if the instance is in the same millennium as the current moment last millennium.
1
$this years(int $value) Set current instance year to the given value.
1
$this year(int $value) Set current instance year to the given value.
1
$this setYears(int $value) Set current instance year to the given value.
1
$this setYear(int $value) Set current instance year to the given value.
1
$this months(int $value) Set current instance month to the given value.
1
$this month(int $value) Set current instance month to the given value.
1
$this setMonths(int $value) Set current instance month to the given value.
1
$this setMonth(int $value) Set current instance month to the given value.
1
$this days(int $value) Set current instance day to the given value.
1
$this day(int $value) Set current instance day to the given value.
1
$this setDays(int $value) Set current instance day to the given value.
1
$this setDay(int $value) Set current instance day to the given value.
1
$this hours(int $value) Set current instance hour to the given value.
1
$this hour(int $value) Set current instance hour to the given value.
1
$this setHours(int $value) Set current instance hour to the given value.
1
$this setHour(int $value) Set current instance hour to the given value.
1
$this minutes(int $value) Set current instance minute to the given value.
1
$this minute(int $value) Set current instance minute to the given value.
1
$this setMinutes(int $value) Set current instance minute to the given value.
1
$this setMinute(int $value) Set current instance minute to the given value.
1
$this seconds(int $value) Set current instance second to the given value.
1
$this second(int $value) Set current instance second to the given value.
1
$this setSeconds(int $value) Set current instance second to the given value.
1
$this setSecond(int $value) Set current instance second to the given value.
1
$this millis(int $value) Set current instance millisecond to the given value.
1
$this milli(int $value) Set current instance millisecond to the given value.
1
$this setMillis(int $value) Set current instance millisecond to the given value.
1
$this setMilli(int $value) Set current instance millisecond to the given value.
1
$this milliseconds(int $value) Set current instance millisecond to the given value.
1
$this millisecond(int $value) Set current instance millisecond to the given value.
1
$this setMilliseconds(int $value) Set current instance millisecond to the given value.
1
$this setMillisecond(int $value) Set current instance millisecond to the given value.
1
$this micros(int $value) Set current instance microsecond to the given value.
1
$this micro(int $value) Set current instance microsecond to the given value.
1
$this setMicros(int $value) Set current instance microsecond to the given value.
1
$this setMicro(int $value) Set current instance microsecond to the given value.
1
$this microseconds(int $value) Set current instance microsecond to the given value.
1
$this microsecond(int $value) Set current instance microsecond to the given value.
1
$this setMicroseconds(int $value) Set current instance microsecond to the given value.
1
$this setMicrosecond(int $value) Set current instance microsecond to the given value.
1
$this addYears(int $value = 1) Add years (the $value count passed in) to the instance (using date interval).
1
$this addYear() Add one year to the instance (using date interval).
1
$this subYears(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval).
1
$this subYear() Sub one year to the instance (using date interval).
1
$this addYearsWithOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
$this addYearWithOverflow() Add one year to the instance (using date interval) with overflow explicitly allowed.
1
$this subYearsWithOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
$this subYearWithOverflow() Sub one year to the instance (using date interval) with overflow explicitly allowed.
1
$this addYearsWithoutOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addYearWithoutOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
1
$this subYearsWithoutOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subYearWithoutOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
1
$this addYearsWithNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addYearWithNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
1
$this subYearsWithNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subYearWithNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
1
$this addYearsNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addYearNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
1
$this subYearsNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subYearNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
1
$this addMonths(int $value = 1) Add months (the $value count passed in) to the instance (using date interval).
1
$this addMonth() Add one month to the instance (using date interval).
1
$this subMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval).
1
$this subMonth() Sub one month to the instance (using date interval).
1
$this addMonthsWithOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
$this addMonthWithOverflow() Add one month to the instance (using date interval) with overflow explicitly allowed.
1
$this subMonthsWithOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
$this subMonthWithOverflow() Sub one month to the instance (using date interval) with overflow explicitly allowed.
1
$this addMonthsWithoutOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addMonthWithoutOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
1
$this subMonthsWithoutOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subMonthWithoutOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
1
$this addMonthsWithNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addMonthWithNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
1
$this subMonthsWithNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subMonthWithNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
1
$this addMonthsNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addMonthNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
1
$this subMonthsNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subMonthNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
1
$this addDays(int $value = 1) Add days (the $value count passed in) to the instance (using date interval).
1
$this addDay() Add one day to the instance (using date interval).
1
$this subDays(int $value = 1) Sub days (the $value count passed in) to the instance (using date interval).
1
$this subDay() Sub one day to the instance (using date interval).
1
$this addHours(int $value = 1) Add hours (the $value count passed in) to the instance (using date interval).
1
$this addHour() Add one hour to the instance (using date interval).
1
$this subHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using date interval).
1
$this subHour() Sub one hour to the instance (using date interval).
1
$this addMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using date interval).
1
$this addMinute() Add one minute to the instance (using date interval).
1
$this subMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using date interval).
1
$this subMinute() Sub one minute to the instance (using date interval).
1
$this addSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using date interval).
1
$this addSecond() Add one second to the instance (using date interval).
1
$this subSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using date interval).
1
$this subSecond() Sub one second to the instance (using date interval).
1
$this addMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
1
$this addMilli() Add one millisecond to the instance (using date interval).
1
$this subMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
1
$this subMilli() Sub one millisecond to the instance (using date interval).
1
$this addMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
1
$this addMillisecond() Add one millisecond to the instance (using date interval).
1
$this subMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
1
$this subMillisecond() Sub one millisecond to the instance (using date interval).
1
$this addMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
1
$this addMicro() Add one microsecond to the instance (using date interval).
1
$this subMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
1
$this subMicro() Sub one microsecond to the instance (using date interval).
1
$this addMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
1
$this addMicrosecond() Add one microsecond to the instance (using date interval).
1
$this subMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
1
$this subMicrosecond() Sub one microsecond to the instance (using date interval).
1
$this addMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval).
1
$this addMillennium() Add one millennium to the instance (using date interval).
1
$this subMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval).
1
$this subMillennium() Sub one millennium to the instance (using date interval).
1
$this addMillenniaWithOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
$this addMillenniumWithOverflow() Add one millennium to the instance (using date interval) with overflow explicitly allowed.
1
$this subMillenniaWithOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
$this subMillenniumWithOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly allowed.
1
$this addMillenniaWithoutOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addMillenniumWithoutOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
1
$this subMillenniaWithoutOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subMillenniumWithoutOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
1
$this addMillenniaWithNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addMillenniumWithNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
1
$this subMillenniaWithNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subMillenniumWithNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
1
$this addMillenniaNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addMillenniumNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
1
$this subMillenniaNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subMillenniumNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
1
$this addCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval).
1
$this addCentury() Add one century to the instance (using date interval).
1
$this subCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval).
1
$this subCentury() Sub one century to the instance (using date interval).
1
$this addCenturiesWithOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
$this addCenturyWithOverflow() Add one century to the instance (using date interval) with overflow explicitly allowed.
1
$this subCenturiesWithOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
$this subCenturyWithOverflow() Sub one century to the instance (using date interval) with overflow explicitly allowed.
1
$this addCenturiesWithoutOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addCenturyWithoutOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
1
$this subCenturiesWithoutOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subCenturyWithoutOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
1
$this addCenturiesWithNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addCenturyWithNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
1
$this subCenturiesWithNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subCenturyWithNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
1
$this addCenturiesNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addCenturyNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
1
$this subCenturiesNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subCenturyNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
1
$this addDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval).
1
$this addDecade() Add one decade to the instance (using date interval).
1
$this subDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval).
1
$this subDecade() Sub one decade to the instance (using date interval).
1
$this addDecadesWithOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
$this addDecadeWithOverflow() Add one decade to the instance (using date interval) with overflow explicitly allowed.
1
$this subDecadesWithOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
$this subDecadeWithOverflow() Sub one decade to the instance (using date interval) with overflow explicitly allowed.
1
$this addDecadesWithoutOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addDecadeWithoutOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
1
$this subDecadesWithoutOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subDecadeWithoutOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
1
$this addDecadesWithNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addDecadeWithNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
1
$this subDecadesWithNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subDecadeWithNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
1
$this addDecadesNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addDecadeNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
1
$this subDecadesNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subDecadeNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
1
$this addQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval).
1
$this addQuarter() Add one quarter to the instance (using date interval).
1
$this subQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval).
1
$this subQuarter() Sub one quarter to the instance (using date interval).
1
$this addQuartersWithOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
$this addQuarterWithOverflow() Add one quarter to the instance (using date interval) with overflow explicitly allowed.
1
$this subQuartersWithOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
$this subQuarterWithOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly allowed.
1
$this addQuartersWithoutOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addQuarterWithoutOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
1
$this subQuartersWithoutOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subQuarterWithoutOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
1
$this addQuartersWithNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addQuarterWithNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
1
$this subQuartersWithNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subQuarterWithNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
1
$this addQuartersNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this addQuarterNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
1
$this subQuartersNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
$this subQuarterNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
1
$this addWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using date interval).
1
$this addWeek() Add one week to the instance (using date interval).
1
$this subWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using date interval).
1
$this subWeek() Sub one week to the instance (using date interval).
1
$this addWeekdays(int $value = 1) Add weekdays (the $value count passed in) to the instance (using date interval).
1
$this addWeekday() Add one weekday to the instance (using date interval).
1
$this subWeekdays(int $value = 1) Sub weekdays (the $value count passed in) to the instance (using date interval).
1
$this subWeekday() Sub one weekday to the instance (using date interval).
1
$this addRealMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
1
$this addRealMicro() Add one microsecond to the instance (using timestamp).
1
$this subRealMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
1
$this subRealMicro() Sub one microsecond to the instance (using timestamp).
1
CarbonPeriod microsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
1
$this addRealMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
1
$this addRealMicrosecond() Add one microsecond to the instance (using timestamp).
1
$this subRealMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
1
$this subRealMicrosecond() Sub one microsecond to the instance (using timestamp).
1
CarbonPeriod microsecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
1
$this addRealMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
1
$this addRealMilli() Add one millisecond to the instance (using timestamp).
1
$this subRealMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
1
$this subRealMilli() Sub one millisecond to the instance (using timestamp).
1
CarbonPeriod millisUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
1
$this addRealMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
1
$this addRealMillisecond() Add one millisecond to the instance (using timestamp).
1
$this subRealMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
1
$this subRealMillisecond() Sub one millisecond to the instance (using timestamp).
1
CarbonPeriod millisecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
1
$this addRealSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using timestamp).
1
$this addRealSecond() Add one second to the instance (using timestamp).
1
$this subRealSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using timestamp).
1
$this subRealSecond() Sub one second to the instance (using timestamp).
1
CarbonPeriod secondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each second or every X seconds if a factor is given.
1
$this addRealMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using timestamp).
1
$this addRealMinute() Add one minute to the instance (using timestamp).
1
$this subRealMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using timestamp).
1
$this subRealMinute() Sub one minute to the instance (using timestamp).
1
CarbonPeriod minutesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each minute or every X minutes if a factor is given.
1
$this addRealHours(int $value = 1) Add hours (the $value count passed in) to the instance (using timestamp).
1
$this addRealHour() Add one hour to the instance (using timestamp).
1
$this subRealHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using timestamp).
1
$this subRealHour() Sub one hour to the instance (using timestamp).
1
CarbonPeriod hoursUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each hour or every X hours if a factor is given.
1
$this addRealDays(int $value = 1) Add days (the $value count passed in) to the instance (using timestamp).
1
$this addRealDay() Add one day to the instance (using timestamp).
1
$this subRealDays(int $value = 1) Sub days (the $value count passed in) to the instance (using timestamp).
1
$this subRealDay() Sub one day to the instance (using timestamp).
1
CarbonPeriod daysUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each day or every X days if a factor is given.
1
$this addRealWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using timestamp).
1
$this addRealWeek() Add one week to the instance (using timestamp).
1
$this subRealWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using timestamp).
1
$this subRealWeek() Sub one week to the instance (using timestamp).
1
CarbonPeriod weeksUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each week or every X weeks if a factor is given.
1
$this addRealMonths(int $value = 1) Add months (the $value count passed in) to the instance (using timestamp).
1
$this addRealMonth() Add one month to the instance (using timestamp).
1
$this subRealMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using timestamp).
1
$this subRealMonth() Sub one month to the instance (using timestamp).
1
CarbonPeriod monthsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each month or every X months if a factor is given.
1
$this addRealQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using timestamp).
1
$this addRealQuarter() Add one quarter to the instance (using timestamp).
1
$this subRealQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using timestamp).
1
$this subRealQuarter() Sub one quarter to the instance (using timestamp).
1
CarbonPeriod quartersUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each quarter or every X quarters if a factor is given.
1
$this addRealYears(int $value = 1) Add years (the $value count passed in) to the instance (using timestamp).
1
$this addRealYear() Add one year to the instance (using timestamp).
1
$this subRealYears(int $value = 1) Sub years (the $value count passed in) to the instance (using timestamp).
1
$this subRealYear() Sub one year to the instance (using timestamp).
1
CarbonPeriod yearsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each year or every X years if a factor is given.
1
$this addRealDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using timestamp).
1
$this addRealDecade() Add one decade to the instance (using timestamp).
1
$this subRealDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using timestamp).
1
$this subRealDecade() Sub one decade to the instance (using timestamp).
1
CarbonPeriod decadesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each decade or every X decades if a factor is given.
1
$this addRealCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using timestamp).
1
$this addRealCentury() Add one century to the instance (using timestamp).
1
$this subRealCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using timestamp).
1
$this subRealCentury() Sub one century to the instance (using timestamp).
1
CarbonPeriod centuriesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each century or every X centuries if a factor is given.
1
$this addRealMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using timestamp).
1
$this addRealMillennium() Add one millennium to the instance (using timestamp).
1
$this subRealMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using timestamp).
1
$this subRealMillennium() Sub one millennium to the instance (using timestamp).
1
CarbonPeriod millenniaUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millennium or every X millennia if a factor is given.
1
$this roundYear(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
1
$this roundYears(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
1
$this floorYear(float $precision = 1) Truncate the current instance year with given precision.
1
$this floorYears(float $precision = 1) Truncate the current instance year with given precision.
1
$this ceilYear(float $precision = 1) Ceil the current instance year with given precision.
1
$this ceilYears(float $precision = 1) Ceil the current instance year with given precision.
1
$this roundMonth(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
1
$this roundMonths(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
1
$this floorMonth(float $precision = 1) Truncate the current instance month with given precision.
1
$this floorMonths(float $precision = 1) Truncate the current instance month with given precision.
1
$this ceilMonth(float $precision = 1) Ceil the current instance month with given precision.
1
$this ceilMonths(float $precision = 1) Ceil the current instance month with given precision.
1
$this roundDay(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
1
$this roundDays(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
1
$this floorDay(float $precision = 1) Truncate the current instance day with given precision.
1
$this floorDays(float $precision = 1) Truncate the current instance day with given precision.
1
$this ceilDay(float $precision = 1) Ceil the current instance day with given precision.
1
$this ceilDays(float $precision = 1) Ceil the current instance day with given precision.
1
$this roundHour(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
1
$this roundHours(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
1
$this floorHour(float $precision = 1) Truncate the current instance hour with given precision.
1
$this floorHours(float $precision = 1) Truncate the current instance hour with given precision.
1
$this ceilHour(float $precision = 1) Ceil the current instance hour with given precision.
1
$this ceilHours(float $precision = 1) Ceil the current instance hour with given precision.
1
$this roundMinute(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
1
$this roundMinutes(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
1
$this floorMinute(float $precision = 1) Truncate the current instance minute with given precision.
1
$this floorMinutes(float $precision = 1) Truncate the current instance minute with given precision.
1
$this ceilMinute(float $precision = 1) Ceil the current instance minute with given precision.
1
$this ceilMinutes(float $precision = 1) Ceil the current instance minute with given precision.
1
$this roundSecond(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
1
$this roundSeconds(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
1
$this floorSecond(float $precision = 1) Truncate the current instance second with given precision.
1
$this floorSeconds(float $precision = 1) Truncate the current instance second with given precision.
1
$this ceilSecond(float $precision = 1) Ceil the current instance second with given precision.
1
$this ceilSeconds(float $precision = 1) Ceil the current instance second with given precision.
1
$this roundMillennium(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
1
$this roundMillennia(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
1
$this floorMillennium(float $precision = 1) Truncate the current instance millennium with given precision.
1
$this floorMillennia(float $precision = 1) Truncate the current instance millennium with given precision.
1
$this ceilMillennium(float $precision = 1) Ceil the current instance millennium with given precision.
1
$this ceilMillennia(float $precision = 1) Ceil the current instance millennium with given precision.
1
$this roundCentury(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
1
$this roundCenturies(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
1
$this floorCentury(float $precision = 1) Truncate the current instance century with given precision.
1
$this floorCenturies(float $precision = 1) Truncate the current instance century with given precision.
1
$this ceilCentury(float $precision = 1) Ceil the current instance century with given precision.
1
$this ceilCenturies(float $precision = 1) Ceil the current instance century with given precision.
1
$this roundDecade(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
1
$this roundDecades(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
1
$this floorDecade(float $precision = 1) Truncate the current instance decade with given precision.
1
$this floorDecades(float $precision = 1) Truncate the current instance decade with given precision.
1
$this ceilDecade(float $precision = 1) Ceil the current instance decade with given precision.
1
$this ceilDecades(float $precision = 1) Ceil the current instance decade with given precision.
1
$this roundQuarter(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
1
$this roundQuarters(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
1
$this floorQuarter(float $precision = 1) Truncate the current instance quarter with given precision.
1
$this floorQuarters(float $precision = 1) Truncate the current instance quarter with given precision.
1
$this ceilQuarter(float $precision = 1) Ceil the current instance quarter with given precision.
1
$this ceilQuarters(float $precision = 1) Ceil the current instance quarter with given precision.
1
$this roundMillisecond(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
1
$this roundMilliseconds(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
1
$this floorMillisecond(float $precision = 1) Truncate the current instance millisecond with given precision.
1
$this floorMilliseconds(float $precision = 1) Truncate the current instance millisecond with given precision.
1
$this ceilMillisecond(float $precision = 1) Ceil the current instance millisecond with given precision.
1
$this ceilMilliseconds(float $precision = 1) Ceil the current instance millisecond with given precision.
1
$this roundMicrosecond(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
1
$this roundMicroseconds(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
1
$this floorMicrosecond(float $precision = 1) Truncate the current instance microsecond with given precision.
1
$this floorMicroseconds(float $precision = 1) Truncate the current instance microsecond with given precision.
1
$this ceilMicrosecond(float $precision = 1) Ceil the current instance microsecond with given precision.
1
$this ceilMicroseconds(float $precision = 1) Ceil the current instance microsecond with given precision.
1
string shortAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
1
string longAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
1
string shortRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
1
string longRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
1
string shortRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
1
string longRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
1
string shortRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
1
string longRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
1
static Carbon|false createFromFormat(string $format, string $time, string|DateTimeZone $timezone = null) Parse a string into a new Carbon object according to the specified format.
static CarbonInterval years($years = 1) Create instance specifying a number of years or modify the number of years if called on an instance.
1
static CarbonInterval year($years = 1) Alias for years()
1
static CarbonInterval months($months = 1) Create instance specifying a number of months or modify the number of months if called on an instance.
1
static CarbonInterval month($months = 1) Alias for months()
1
static CarbonInterval weeks($weeks = 1) Create instance specifying a number of weeks or modify the number of weeks if called on an instance.
1
static CarbonInterval week($weeks = 1) Alias for weeks()
1
static CarbonInterval days($days = 1) Create instance specifying a number of days or modify the number of days if called on an instance.
1
static CarbonInterval dayz($days = 1) Alias for days()
1
static CarbonInterval daysExcludeWeeks($days = 1) Create instance specifying a number of days or modify the number of days (keeping the current number of weeks) if called on an instance.
1
static CarbonInterval dayzExcludeWeeks($days = 1) Alias for daysExcludeWeeks()
1
static CarbonInterval day($days = 1) Alias for days()
1
static CarbonInterval hours($hours = 1) Create instance specifying a number of hours or modify the number of hours if called on an instance.
1
static CarbonInterval hour($hours = 1) Alias for hours()
1
static CarbonInterval minutes($minutes = 1) Create instance specifying a number of minutes or modify the number of minutes if called on an instance.
1
static CarbonInterval minute($minutes = 1) Alias for minutes()
1
static CarbonInterval seconds($seconds = 1) Create instance specifying a number of seconds or modify the number of seconds if called on an instance.
1
static CarbonInterval second($seconds = 1) Alias for seconds()
1
static CarbonInterval milliseconds($milliseconds = 1) Create instance specifying a number of milliseconds or modify the number of milliseconds if called on an instance.
1
static CarbonInterval millisecond($milliseconds = 1) Alias for milliseconds()
1
static CarbonInterval microseconds($microseconds = 1) Create instance specifying a number of microseconds or modify the number of microseconds if called on an instance.
1
static CarbonInterval microsecond($microseconds = 1) Alias for microseconds()
1
$this addYears(int $years) Add given number of years to the current interval
1
$this subYears(int $years) Subtract given number of years to the current interval
1
$this addMonths(int $months) Add given number of months to the current interval
1
$this subMonths(int $months) Subtract given number of months to the current interval
1
$this addWeeks(int|float $weeks) Add given number of weeks to the current interval
1
$this subWeeks(int|float $weeks) Subtract given number of weeks to the current interval
1
$this addDays(int|float $days) Add given number of days to the current interval
1
$this subDays(int|float $days) Subtract given number of days to the current interval
1
$this addHours(int|float $hours) Add given number of hours to the current interval
1
$this subHours(int|float $hours) Subtract given number of hours to the current interval
1
$this addMinutes(int|float $minutes) Add given number of minutes to the current interval
1
$this subMinutes(int|float $minutes) Subtract given number of minutes to the current interval
1
$this addSeconds(int|float $seconds) Add given number of seconds to the current interval
1
$this subSeconds(int|float $seconds) Subtract given number of seconds to the current interval
1
$this addMilliseconds(int|float $milliseconds) Add given number of milliseconds to the current interval
1
$this subMilliseconds(int|float $milliseconds) Subtract given number of milliseconds to the current interval
1
$this addMicroseconds(int|float $microseconds) Add given number of microseconds to the current interval
1
$this subMicroseconds(int|float $microseconds) Subtract given number of microseconds to the current interval
1
$this roundYear(int|float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
1
$this roundYears(int|float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
1
$this floorYear(int|float $precision = 1) Truncate the current instance year with given precision.
1
$this floorYears(int|float $precision = 1) Truncate the current instance year with given precision.
1
$this ceilYear(int|float $precision = 1) Ceil the current instance year with given precision.
1
$this ceilYears(int|float $precision = 1) Ceil the current instance year with given precision.
1
$this roundMonth(int|float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
1
$this roundMonths(int|float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
1
$this floorMonth(int|float $precision = 1) Truncate the current instance month with given precision.
1
$this floorMonths(int|float $precision = 1) Truncate the current instance month with given precision.
1
$this ceilMonth(int|float $precision = 1) Ceil the current instance month with given precision.
1
$this ceilMonths(int|float $precision = 1) Ceil the current instance month with given precision.
1
$this roundWeek(int|float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
1
$this roundWeeks(int|float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
1
$this floorWeek(int|float $precision = 1) Truncate the current instance day with given precision.
1
$this floorWeeks(int|float $precision = 1) Truncate the current instance day with given precision.
1
$this ceilWeek(int|float $precision = 1) Ceil the current instance day with given precision.
1
$this ceilWeeks(int|float $precision = 1) Ceil the current instance day with given precision.
1
$this roundDay(int|float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
1
$this roundDays(int|float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
1
$this floorDay(int|float $precision = 1) Truncate the current instance day with given precision.
1
$this floorDays(int|float $precision = 1) Truncate the current instance day with given precision.
1
$this ceilDay(int|float $precision = 1) Ceil the current instance day with given precision.
1
$this ceilDays(int|float $precision = 1) Ceil the current instance day with given precision.
1
$this roundHour(int|float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
1
$this roundHours(int|float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
1
$this floorHour(int|float $precision = 1) Truncate the current instance hour with given precision.
1
$this floorHours(int|float $precision = 1) Truncate the current instance hour with given precision.
1
$this ceilHour(int|float $precision = 1) Ceil the current instance hour with given precision.
1
$this ceilHours(int|float $precision = 1) Ceil the current instance hour with given precision.
1
$this roundMinute(int|float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
1
$this roundMinutes(int|float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
1
$this floorMinute(int|float $precision = 1) Truncate the current instance minute with given precision.
1
$this floorMinutes(int|float $precision = 1) Truncate the current instance minute with given precision.
1
$this ceilMinute(int|float $precision = 1) Ceil the current instance minute with given precision.
1
$this ceilMinutes(int|float $precision = 1) Ceil the current instance minute with given precision.
1
$this roundSecond(int|float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
1
$this roundSeconds(int|float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
1
$this floorSecond(int|float $precision = 1) Truncate the current instance second with given precision.
1
$this floorSeconds(int|float $precision = 1) Truncate the current instance second with given precision.
1
$this ceilSecond(int|float $precision = 1) Ceil the current instance second with given precision.
1
$this ceilSeconds(int|float $precision = 1) Ceil the current instance second with given precision.
1
$this roundMillennium(int|float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
1
$this roundMillennia(int|float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
1
$this floorMillennium(int|float $precision = 1) Truncate the current instance millennium with given precision.
1
$this floorMillennia(int|float $precision = 1) Truncate the current instance millennium with given precision.
1
$this ceilMillennium(int|float $precision = 1) Ceil the current instance millennium with given precision.
1
$this ceilMillennia(int|float $precision = 1) Ceil the current instance millennium with given precision.
1
$this roundCentury(int|float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
1
$this roundCenturies(int|float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
1
$this floorCentury(int|float $precision = 1) Truncate the current instance century with given precision.
1
$this floorCenturies(int|float $precision = 1) Truncate the current instance century with given precision.
1
$this ceilCentury(int|float $precision = 1) Ceil the current instance century with given precision.
1
$this ceilCenturies(int|float $precision = 1) Ceil the current instance century with given precision.
1
$this roundDecade(int|float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
1
$this roundDecades(int|float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
1
$this floorDecade(int|float $precision = 1) Truncate the current instance decade with given precision.
1
$this floorDecades(int|float $precision = 1) Truncate the current instance decade with given precision.
1
$this ceilDecade(int|float $precision = 1) Ceil the current instance decade with given precision.
1
$this ceilDecades(int|float $precision = 1) Ceil the current instance decade with given precision.
1
$this roundQuarter(int|float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
1
$this roundQuarters(int|float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
1
$this floorQuarter(int|float $precision = 1) Truncate the current instance quarter with given precision.
1
$this floorQuarters(int|float $precision = 1) Truncate the current instance quarter with given precision.
1
$this ceilQuarter(int|float $precision = 1) Ceil the current instance quarter with given precision.
1
$this ceilQuarters(int|float $precision = 1) Ceil the current instance quarter with given precision.
1
$this roundMillisecond(int|float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
1
$this roundMilliseconds(int|float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
1
$this floorMillisecond(int|float $precision = 1) Truncate the current instance millisecond with given precision.
1
$this floorMilliseconds(int|float $precision = 1) Truncate the current instance millisecond with given precision.
1
$this ceilMillisecond(int|float $precision = 1) Ceil the current instance millisecond with given precision.
1
$this ceilMilliseconds(int|float $precision = 1) Ceil the current instance millisecond with given precision.
1
$this roundMicrosecond(int|float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
1
$this roundMicroseconds(int|float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
1
$this floorMicrosecond(int|float $precision = 1) Truncate the current instance microsecond with given precision.
1
$this floorMicroseconds(int|float $precision = 1) Truncate the current instance microsecond with given precision.
1
$this ceilMicrosecond(int|float $precision = 1) Ceil the current instance microsecond with given precision.
1
$this ceilMicroseconds(int|float $precision = 1) Ceil the current instance microsecond with given precision.
1
bool isUtc() Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
1
bool isLocal() Check if the current instance has non-UTC timezone.
1
bool isValid() Check if the current instance is a valid date.
1
bool isDST() Check if the current instance is in a daylight saving time.
1
bool isSunday() Checks if the instance day is sunday.
1
bool isMonday() Checks if the instance day is monday.
1
bool isTuesday() Checks if the instance day is tuesday.
1
bool isWednesday() Checks if the instance day is wednesday.
1
bool isThursday() Checks if the instance day is thursday.
1
bool isFriday() Checks if the instance day is friday.
1
bool isSaturday() Checks if the instance day is saturday.
1
bool isSameYear(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same year as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentYear() Checks if the instance is in the same year as the current moment.
1
bool isNextYear() Checks if the instance is in the same year as the current moment next year.
1
bool isLastYear() Checks if the instance is in the same year as the current moment last year.
1
bool isSameWeek(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same week as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentWeek() Checks if the instance is in the same week as the current moment.
1
bool isNextWeek() Checks if the instance is in the same week as the current moment next week.
1
bool isLastWeek() Checks if the instance is in the same week as the current moment last week.
1
bool isSameDay(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same day as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentDay() Checks if the instance is in the same day as the current moment.
1
bool isNextDay() Checks if the instance is in the same day as the current moment next day.
1
bool isLastDay() Checks if the instance is in the same day as the current moment last day.
1
bool isSameHour(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same hour as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentHour() Checks if the instance is in the same hour as the current moment.
1
bool isNextHour() Checks if the instance is in the same hour as the current moment next hour.
1
bool isLastHour() Checks if the instance is in the same hour as the current moment last hour.
1
bool isSameMinute(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same minute as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentMinute() Checks if the instance is in the same minute as the current moment.
1
bool isNextMinute() Checks if the instance is in the same minute as the current moment next minute.
1
bool isLastMinute() Checks if the instance is in the same minute as the current moment last minute.
1
bool isSameSecond(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same second as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentSecond() Checks if the instance is in the same second as the current moment.
1
bool isNextSecond() Checks if the instance is in the same second as the current moment next second.
1
bool isLastSecond() Checks if the instance is in the same second as the current moment last second.
1
bool isSameMicro(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentMicro() Checks if the instance is in the same microsecond as the current moment.
1
bool isNextMicro() Checks if the instance is in the same microsecond as the current moment next microsecond.
1
bool isLastMicro() Checks if the instance is in the same microsecond as the current moment last microsecond.
1
bool isSameMicrosecond(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentMicrosecond() Checks if the instance is in the same microsecond as the current moment.
1
bool isNextMicrosecond() Checks if the instance is in the same microsecond as the current moment next microsecond.
1
bool isLastMicrosecond() Checks if the instance is in the same microsecond as the current moment last microsecond.
1
bool isCurrentMonth() Checks if the instance is in the same month as the current moment.
1
bool isNextMonth() Checks if the instance is in the same month as the current moment next month.
1
bool isLastMonth() Checks if the instance is in the same month as the current moment last month.
1
bool isCurrentQuarter() Checks if the instance is in the same quarter as the current moment.
1
bool isNextQuarter() Checks if the instance is in the same quarter as the current moment next quarter.
1
bool isLastQuarter() Checks if the instance is in the same quarter as the current moment last quarter.
1
bool isSameDecade(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same decade as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentDecade() Checks if the instance is in the same decade as the current moment.
1
bool isNextDecade() Checks if the instance is in the same decade as the current moment next decade.
1
bool isLastDecade() Checks if the instance is in the same decade as the current moment last decade.
1
bool isSameCentury(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same century as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentCentury() Checks if the instance is in the same century as the current moment.
1
bool isNextCentury() Checks if the instance is in the same century as the current moment next century.
1
bool isLastCentury() Checks if the instance is in the same century as the current moment last century.
1
bool isSameMillennium(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same millennium as the instance. If null passed, compare to now (with the same timezone).
1
bool isCurrentMillennium() Checks if the instance is in the same millennium as the current moment.
1
bool isNextMillennium() Checks if the instance is in the same millennium as the current moment next millennium.
1
bool isLastMillennium() Checks if the instance is in the same millennium as the current moment last millennium.
1
CarbonImmutable years(int $value) Set current instance year to the given value.
1
CarbonImmutable year(int $value) Set current instance year to the given value.
1
CarbonImmutable setYears(int $value) Set current instance year to the given value.
1
CarbonImmutable setYear(int $value) Set current instance year to the given value.
1
CarbonImmutable months(int $value) Set current instance month to the given value.
1
CarbonImmutable month(int $value) Set current instance month to the given value.
1
CarbonImmutable setMonths(int $value) Set current instance month to the given value.
1
CarbonImmutable setMonth(int $value) Set current instance month to the given value.
1
CarbonImmutable days(int $value) Set current instance day to the given value.
1
CarbonImmutable day(int $value) Set current instance day to the given value.
1
CarbonImmutable setDays(int $value) Set current instance day to the given value.
1
CarbonImmutable setDay(int $value) Set current instance day to the given value.
1
CarbonImmutable hours(int $value) Set current instance hour to the given value.
1
CarbonImmutable hour(int $value) Set current instance hour to the given value.
1
CarbonImmutable setHours(int $value) Set current instance hour to the given value.
1
CarbonImmutable setHour(int $value) Set current instance hour to the given value.
1
CarbonImmutable minutes(int $value) Set current instance minute to the given value.
1
CarbonImmutable minute(int $value) Set current instance minute to the given value.
1
CarbonImmutable setMinutes(int $value) Set current instance minute to the given value.
1
CarbonImmutable setMinute(int $value) Set current instance minute to the given value.
1
CarbonImmutable seconds(int $value) Set current instance second to the given value.
1
CarbonImmutable second(int $value) Set current instance second to the given value.
1
CarbonImmutable setSeconds(int $value) Set current instance second to the given value.
1
CarbonImmutable setSecond(int $value) Set current instance second to the given value.
1
CarbonImmutable millis(int $value) Set current instance millisecond to the given value.
1
CarbonImmutable milli(int $value) Set current instance millisecond to the given value.
1
CarbonImmutable setMillis(int $value) Set current instance millisecond to the given value.
1
CarbonImmutable setMilli(int $value) Set current instance millisecond to the given value.
1
CarbonImmutable milliseconds(int $value) Set current instance millisecond to the given value.
1
CarbonImmutable millisecond(int $value) Set current instance millisecond to the given value.
1
CarbonImmutable setMilliseconds(int $value) Set current instance millisecond to the given value.
1
CarbonImmutable setMillisecond(int $value) Set current instance millisecond to the given value.
1
CarbonImmutable micros(int $value) Set current instance microsecond to the given value.
1
CarbonImmutable micro(int $value) Set current instance microsecond to the given value.
1
CarbonImmutable setMicros(int $value) Set current instance microsecond to the given value.
1
CarbonImmutable setMicro(int $value) Set current instance microsecond to the given value.
1
CarbonImmutable microseconds(int $value) Set current instance microsecond to the given value.
1
CarbonImmutable microsecond(int $value) Set current instance microsecond to the given value.
1
CarbonImmutable setMicroseconds(int $value) Set current instance microsecond to the given value.
1
CarbonImmutable setMicrosecond(int $value) Set current instance microsecond to the given value.
1
CarbonImmutable addYears(int $value = 1) Add years (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable addYear() Add one year to the instance (using date interval).
1
CarbonImmutable subYears(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable subYear() Sub one year to the instance (using date interval).
1
CarbonImmutable addYearsWithOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable addYearWithOverflow() Add one year to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable subYearsWithOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable subYearWithOverflow() Sub one year to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable addYearsWithoutOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addYearWithoutOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subYearsWithoutOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subYearWithoutOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addYearsWithNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addYearWithNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subYearsWithNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subYearWithNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addYearsNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addYearNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subYearsNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subYearNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addMonths(int $value = 1) Add months (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable addMonth() Add one month to the instance (using date interval).
1
CarbonImmutable subMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable subMonth() Sub one month to the instance (using date interval).
1
CarbonImmutable addMonthsWithOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable addMonthWithOverflow() Add one month to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable subMonthsWithOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable subMonthWithOverflow() Sub one month to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable addMonthsWithoutOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addMonthWithoutOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subMonthsWithoutOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subMonthWithoutOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addMonthsWithNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addMonthWithNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subMonthsWithNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subMonthWithNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addMonthsNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addMonthNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subMonthsNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subMonthNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addDays(int $value = 1) Add days (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable addDay() Add one day to the instance (using date interval).
1
CarbonImmutable subDays(int $value = 1) Sub days (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable subDay() Sub one day to the instance (using date interval).
1
CarbonImmutable addHours(int $value = 1) Add hours (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable addHour() Add one hour to the instance (using date interval).
1
CarbonImmutable subHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable subHour() Sub one hour to the instance (using date interval).
1
CarbonImmutable addMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable addMinute() Add one minute to the instance (using date interval).
1
CarbonImmutable subMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable subMinute() Sub one minute to the instance (using date interval).
1
CarbonImmutable addSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable addSecond() Add one second to the instance (using date interval).
1
CarbonImmutable subSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable subSecond() Sub one second to the instance (using date interval).
1
CarbonImmutable addMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable addMilli() Add one millisecond to the instance (using date interval).
1
CarbonImmutable subMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable subMilli() Sub one millisecond to the instance (using date interval).
1
CarbonImmutable addMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable addMillisecond() Add one millisecond to the instance (using date interval).
1
CarbonImmutable subMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable subMillisecond() Sub one millisecond to the instance (using date interval).
1
CarbonImmutable addMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable addMicro() Add one microsecond to the instance (using date interval).
1
CarbonImmutable subMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable subMicro() Sub one microsecond to the instance (using date interval).
1
CarbonImmutable addMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable addMicrosecond() Add one microsecond to the instance (using date interval).
1
CarbonImmutable subMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable subMicrosecond() Sub one microsecond to the instance (using date interval).
1
CarbonImmutable addMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable addMillennium() Add one millennium to the instance (using date interval).
1
CarbonImmutable subMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable subMillennium() Sub one millennium to the instance (using date interval).
1
CarbonImmutable addMillenniaWithOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable addMillenniumWithOverflow() Add one millennium to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable subMillenniaWithOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable subMillenniumWithOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable addMillenniaWithoutOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addMillenniumWithoutOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subMillenniaWithoutOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subMillenniumWithoutOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addMillenniaWithNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addMillenniumWithNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subMillenniaWithNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subMillenniumWithNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addMillenniaNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addMillenniumNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subMillenniaNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subMillenniumNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable addCentury() Add one century to the instance (using date interval).
1
CarbonImmutable subCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable subCentury() Sub one century to the instance (using date interval).
1
CarbonImmutable addCenturiesWithOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable addCenturyWithOverflow() Add one century to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable subCenturiesWithOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable subCenturyWithOverflow() Sub one century to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable addCenturiesWithoutOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addCenturyWithoutOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subCenturiesWithoutOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subCenturyWithoutOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addCenturiesWithNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addCenturyWithNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subCenturiesWithNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subCenturyWithNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addCenturiesNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addCenturyNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subCenturiesNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subCenturyNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable addDecade() Add one decade to the instance (using date interval).
1
CarbonImmutable subDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable subDecade() Sub one decade to the instance (using date interval).
1
CarbonImmutable addDecadesWithOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable addDecadeWithOverflow() Add one decade to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable subDecadesWithOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable subDecadeWithOverflow() Sub one decade to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable addDecadesWithoutOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addDecadeWithoutOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subDecadesWithoutOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subDecadeWithoutOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addDecadesWithNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addDecadeWithNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subDecadesWithNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subDecadeWithNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addDecadesNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addDecadeNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subDecadesNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subDecadeNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable addQuarter() Add one quarter to the instance (using date interval).
1
CarbonImmutable subQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable subQuarter() Sub one quarter to the instance (using date interval).
1
CarbonImmutable addQuartersWithOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable addQuarterWithOverflow() Add one quarter to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable subQuartersWithOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable subQuarterWithOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly allowed.
1
CarbonImmutable addQuartersWithoutOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addQuarterWithoutOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subQuartersWithoutOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subQuarterWithoutOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addQuartersWithNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addQuarterWithNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subQuartersWithNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subQuarterWithNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addQuartersNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addQuarterNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subQuartersNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable subQuarterNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
1
CarbonImmutable addWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable addWeek() Add one week to the instance (using date interval).
1
CarbonImmutable subWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable subWeek() Sub one week to the instance (using date interval).
1
CarbonImmutable addWeekdays(int $value = 1) Add weekdays (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable addWeekday() Add one weekday to the instance (using date interval).
1
CarbonImmutable subWeekdays(int $value = 1) Sub weekdays (the $value count passed in) to the instance (using date interval).
1
CarbonImmutable subWeekday() Sub one weekday to the instance (using date interval).
1
CarbonImmutable addRealMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable addRealMicro() Add one microsecond to the instance (using timestamp).
1
CarbonImmutable subRealMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable subRealMicro() Sub one microsecond to the instance (using timestamp).
1
CarbonPeriod microsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
1
CarbonImmutable addRealMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable addRealMicrosecond() Add one microsecond to the instance (using timestamp).
1
CarbonImmutable subRealMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable subRealMicrosecond() Sub one microsecond to the instance (using timestamp).
1
CarbonPeriod microsecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
1
CarbonImmutable addRealMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable addRealMilli() Add one millisecond to the instance (using timestamp).
1
CarbonImmutable subRealMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable subRealMilli() Sub one millisecond to the instance (using timestamp).
1
CarbonPeriod millisUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
1
CarbonImmutable addRealMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable addRealMillisecond() Add one millisecond to the instance (using timestamp).
1
CarbonImmutable subRealMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable subRealMillisecond() Sub one millisecond to the instance (using timestamp).
1
CarbonPeriod millisecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
1
CarbonImmutable addRealSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable addRealSecond() Add one second to the instance (using timestamp).
1
CarbonImmutable subRealSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable subRealSecond() Sub one second to the instance (using timestamp).
1
CarbonPeriod secondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each second or every X seconds if a factor is given.
1
CarbonImmutable addRealMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable addRealMinute() Add one minute to the instance (using timestamp).
1
CarbonImmutable subRealMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable subRealMinute() Sub one minute to the instance (using timestamp).
1
CarbonPeriod minutesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each minute or every X minutes if a factor is given.
1
CarbonImmutable addRealHours(int $value = 1) Add hours (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable addRealHour() Add one hour to the instance (using timestamp).
1
CarbonImmutable subRealHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable subRealHour() Sub one hour to the instance (using timestamp).
1
CarbonPeriod hoursUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each hour or every X hours if a factor is given.
1
CarbonImmutable addRealDays(int $value = 1) Add days (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable addRealDay() Add one day to the instance (using timestamp).
1
CarbonImmutable subRealDays(int $value = 1) Sub days (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable subRealDay() Sub one day to the instance (using timestamp).
1
CarbonPeriod daysUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each day or every X days if a factor is given.
1
CarbonImmutable addRealWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable addRealWeek() Add one week to the instance (using timestamp).
1
CarbonImmutable subRealWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable subRealWeek() Sub one week to the instance (using timestamp).
1
CarbonPeriod weeksUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each week or every X weeks if a factor is given.
1
CarbonImmutable addRealMonths(int $value = 1) Add months (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable addRealMonth() Add one month to the instance (using timestamp).
1
CarbonImmutable subRealMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable subRealMonth() Sub one month to the instance (using timestamp).
1
CarbonPeriod monthsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each month or every X months if a factor is given.
1
CarbonImmutable addRealQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable addRealQuarter() Add one quarter to the instance (using timestamp).
1
CarbonImmutable subRealQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable subRealQuarter() Sub one quarter to the instance (using timestamp).
1
CarbonPeriod quartersUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each quarter or every X quarters if a factor is given.
1
CarbonImmutable addRealYears(int $value = 1) Add years (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable addRealYear() Add one year to the instance (using timestamp).
1
CarbonImmutable subRealYears(int $value = 1) Sub years (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable subRealYear() Sub one year to the instance (using timestamp).
1
CarbonPeriod yearsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each year or every X years if a factor is given.
1
CarbonImmutable addRealDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable addRealDecade() Add one decade to the instance (using timestamp).
1
CarbonImmutable subRealDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable subRealDecade() Sub one decade to the instance (using timestamp).
1
CarbonPeriod decadesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each decade or every X decades if a factor is given.
1
CarbonImmutable addRealCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable addRealCentury() Add one century to the instance (using timestamp).
1
CarbonImmutable subRealCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable subRealCentury() Sub one century to the instance (using timestamp).
1
CarbonPeriod centuriesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each century or every X centuries if a factor is given.
1
CarbonImmutable addRealMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable addRealMillennium() Add one millennium to the instance (using timestamp).
1
CarbonImmutable subRealMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using timestamp).
1
CarbonImmutable subRealMillennium() Sub one millennium to the instance (using timestamp).
1
CarbonPeriod millenniaUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millennium or every X millennia if a factor is given.
1
CarbonImmutable roundYear(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
1
CarbonImmutable roundYears(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
1
CarbonImmutable floorYear(float $precision = 1) Truncate the current instance year with given precision.
1
CarbonImmutable floorYears(float $precision = 1) Truncate the current instance year with given precision.
1
CarbonImmutable ceilYear(float $precision = 1) Ceil the current instance year with given precision.
1
CarbonImmutable ceilYears(float $precision = 1) Ceil the current instance year with given precision.
1
CarbonImmutable roundMonth(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
1
CarbonImmutable roundMonths(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
1
CarbonImmutable floorMonth(float $precision = 1) Truncate the current instance month with given precision.
1
CarbonImmutable floorMonths(float $precision = 1) Truncate the current instance month with given precision.
1
CarbonImmutable ceilMonth(float $precision = 1) Ceil the current instance month with given precision.
1
CarbonImmutable ceilMonths(float $precision = 1) Ceil the current instance month with given precision.
1
CarbonImmutable roundDay(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
1
CarbonImmutable roundDays(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
1
CarbonImmutable floorDay(float $precision = 1) Truncate the current instance day with given precision.
1
CarbonImmutable floorDays(float $precision = 1) Truncate the current instance day with given precision.
1
CarbonImmutable ceilDay(float $precision = 1) Ceil the current instance day with given precision.
1
CarbonImmutable ceilDays(float $precision = 1) Ceil the current instance day with given precision.
1
CarbonImmutable roundHour(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
1
CarbonImmutable roundHours(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
1
CarbonImmutable floorHour(float $precision = 1) Truncate the current instance hour with given precision.
1
CarbonImmutable floorHours(float $precision = 1) Truncate the current instance hour with given precision.
1
CarbonImmutable ceilHour(float $precision = 1) Ceil the current instance hour with given precision.
1
CarbonImmutable ceilHours(float $precision = 1) Ceil the current instance hour with given precision.
1
CarbonImmutable roundMinute(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
1
CarbonImmutable roundMinutes(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
1
CarbonImmutable floorMinute(float $precision = 1) Truncate the current instance minute with given precision.
1
CarbonImmutable floorMinutes(float $precision = 1) Truncate the current instance minute with given precision.
1
CarbonImmutable ceilMinute(float $precision = 1) Ceil the current instance minute with given precision.
1
CarbonImmutable ceilMinutes(float $precision = 1) Ceil the current instance minute with given precision.
1
CarbonImmutable roundSecond(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
1
CarbonImmutable roundSeconds(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
1
CarbonImmutable floorSecond(float $precision = 1) Truncate the current instance second with given precision.
1
CarbonImmutable floorSeconds(float $precision = 1) Truncate the current instance second with given precision.
1
CarbonImmutable ceilSecond(float $precision = 1) Ceil the current instance second with given precision.
1
CarbonImmutable ceilSeconds(float $precision = 1) Ceil the current instance second with given precision.
1
CarbonImmutable roundMillennium(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
1
CarbonImmutable roundMillennia(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
1
CarbonImmutable floorMillennium(float $precision = 1) Truncate the current instance millennium with given precision.
1
CarbonImmutable floorMillennia(float $precision = 1) Truncate the current instance millennium with given precision.
1
CarbonImmutable ceilMillennium(float $precision = 1) Ceil the current instance millennium with given precision.
1
CarbonImmutable ceilMillennia(float $precision = 1) Ceil the current instance millennium with given precision.
1
CarbonImmutable roundCentury(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
1
CarbonImmutable roundCenturies(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
1
CarbonImmutable floorCentury(float $precision = 1) Truncate the current instance century with given precision.
1
CarbonImmutable floorCenturies(float $precision = 1) Truncate the current instance century with given precision.
1
CarbonImmutable ceilCentury(float $precision = 1) Ceil the current instance century with given precision.
1
CarbonImmutable ceilCenturies(float $precision = 1) Ceil the current instance century with given precision.
1
CarbonImmutable roundDecade(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
1
CarbonImmutable roundDecades(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
1
CarbonImmutable floorDecade(float $precision = 1) Truncate the current instance decade with given precision.
1
CarbonImmutable floorDecades(float $precision = 1) Truncate the current instance decade with given precision.
1
CarbonImmutable ceilDecade(float $precision = 1) Ceil the current instance decade with given precision.
1
CarbonImmutable ceilDecades(float $precision = 1) Ceil the current instance decade with given precision.
1
CarbonImmutable roundQuarter(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
1
CarbonImmutable roundQuarters(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
1
CarbonImmutable floorQuarter(float $precision = 1) Truncate the current instance quarter with given precision.
1
CarbonImmutable floorQuarters(float $precision = 1) Truncate the current instance quarter with given precision.
1
CarbonImmutable ceilQuarter(float $precision = 1) Ceil the current instance quarter with given precision.
1
CarbonImmutable ceilQuarters(float $precision = 1) Ceil the current instance quarter with given precision.
1
CarbonImmutable roundMillisecond(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
1
CarbonImmutable roundMilliseconds(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
1
CarbonImmutable floorMillisecond(float $precision = 1) Truncate the current instance millisecond with given precision.
1
CarbonImmutable floorMilliseconds(float $precision = 1) Truncate the current instance millisecond with given precision.
1
CarbonImmutable ceilMillisecond(float $precision = 1) Ceil the current instance millisecond with given precision.
1
CarbonImmutable ceilMilliseconds(float $precision = 1) Ceil the current instance millisecond with given precision.
1
CarbonImmutable roundMicrosecond(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
1
CarbonImmutable roundMicroseconds(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
1
CarbonImmutable floorMicrosecond(float $precision = 1) Truncate the current instance microsecond with given precision.
1
CarbonImmutable floorMicroseconds(float $precision = 1) Truncate the current instance microsecond with given precision.
1
CarbonImmutable ceilMicrosecond(float $precision = 1) Ceil the current instance microsecond with given precision.
1
CarbonImmutable ceilMicroseconds(float $precision = 1) Ceil the current instance microsecond with given precision.
1
string shortAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
1
string longAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
1
string shortRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
1
string longRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
1
string shortRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
1
string longRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
1
string shortRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
1
string longRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
1
static CarbonImmutable|false createFromFormat(string $format, string $time, string|DateTimeZone $timezone = null) Parse a string into a new CarbonImmutable object according to the specified format.
static CarbonPeriod start($date, $inclusive = null) Create instance specifying start date or modify the start date if called on an instance.
1
static CarbonPeriod since($date, $inclusive = null) Alias for start().
1
static CarbonPeriod sinceNow($inclusive = null) Create instance with start date set to now or set the start date to now if called on an instance.
1
static CarbonPeriod end($date = null, $inclusive = null) Create instance specifying end date or modify the end date if called on an instance.
1
static CarbonPeriod until($date = null, $inclusive = null) Alias for end().
1
static CarbonPeriod untilNow($inclusive = null) Create instance with end date set to now or set the end date to now if called on an instance.
1
static CarbonPeriod dates($start, $end = null) Create instance with start and end dates or modify the start and end dates if called on an instance.
1
static CarbonPeriod between($start, $end = null) Create instance with start and end dates or modify the start and end dates if called on an instance.
1
static CarbonPeriod recurrences($recurrences = null) Create instance with maximum number of recurrences or modify the number of recurrences if called on an instance.
1
static CarbonPeriod times($recurrences = null) Alias for recurrences().
1
static CarbonPeriod options($options = null) Create instance with options or modify the options if called on an instance.
1
static CarbonPeriod toggle($options, $state = null) Create instance with options toggled on or off, or toggle options if called on an instance.
1
static CarbonPeriod filter($callback, $name = null) Create instance with filter added to the stack or append a filter if called on an instance.
1
static CarbonPeriod push($callback, $name = null) Alias for filter().
1
static CarbonPeriod prepend($callback, $name = null) Create instance with filter prepended to the stack or prepend a filter if called on an instance.
1
static CarbonPeriod filters(array $filters = []) Create instance with filters stack or replace the whole filters stack if called on an instance.
1
static CarbonPeriod interval($interval) Create instance with given date interval or modify the interval if called on an instance.
1
static CarbonPeriod each($interval) Create instance with given date interval or modify the interval if called on an instance.
1
static CarbonPeriod every($interval) Create instance with given date interval or modify the interval if called on an instance.
1
static CarbonPeriod step($interval) Create instance with given date interval or modify the interval if called on an instance.
1
static CarbonPeriod stepBy($interval) Create instance with given date interval or modify the interval if called on an instance.
1
static CarbonPeriod invert() Create instance with inverted date interval or invert the interval if called on an instance.
1
static CarbonPeriod years($years = 1) Create instance specifying a number of years for date interval or replace the interval by the given a number of years if called on an instance.
1
static CarbonPeriod year($years = 1) Alias for years().
1
static CarbonPeriod months($months = 1) Create instance specifying a number of months for date interval or replace the interval by the given a number of months if called on an instance.
1
static CarbonPeriod month($months = 1) Alias for months().
1
static CarbonPeriod weeks($weeks = 1) Create instance specifying a number of weeks for date interval or replace the interval by the given a number of weeks if called on an instance.
1
static CarbonPeriod week($weeks = 1) Alias for weeks().
1
static CarbonPeriod days($days = 1) Create instance specifying a number of days for date interval or replace the interval by the given a number of days if called on an instance.
1
static CarbonPeriod dayz($days = 1) Alias for days().
1
static CarbonPeriod day($days = 1) Alias for days().
1
static CarbonPeriod hours($hours = 1) Create instance specifying a number of hours for date interval or replace the interval by the given a number of hours if called on an instance.
1
static CarbonPeriod hour($hours = 1) Alias for hours().
1
static CarbonPeriod minutes($minutes = 1) Create instance specifying a number of minutes for date interval or replace the interval by the given a number of minutes if called on an instance.
1
static CarbonPeriod minute($minutes = 1) Alias for minutes().
1
static CarbonPeriod seconds($seconds = 1) Create instance specifying a number of seconds for date interval or replace the interval by the given a number of seconds if called on an instance.
1
static CarbonPeriod second($seconds = 1) Alias for seconds().
1
$this roundYear(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
1
$this roundYears(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
1
$this floorYear(float $precision = 1) Truncate the current instance year with given precision.
1
$this floorYears(float $precision = 1) Truncate the current instance year with given precision.
1
$this ceilYear(float $precision = 1) Ceil the current instance year with given precision.
1
$this ceilYears(float $precision = 1) Ceil the current instance year with given precision.
1
$this roundMonth(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
1
$this roundMonths(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
1
$this floorMonth(float $precision = 1) Truncate the current instance month with given precision.
1
$this floorMonths(float $precision = 1) Truncate the current instance month with given precision.
1
$this ceilMonth(float $precision = 1) Ceil the current instance month with given precision.
1
$this ceilMonths(float $precision = 1) Ceil the current instance month with given precision.
1
$this roundWeek(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
1
$this roundWeeks(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
1
$this floorWeek(float $precision = 1) Truncate the current instance day with given precision.
1
$this floorWeeks(float $precision = 1) Truncate the current instance day with given precision.
1
$this ceilWeek(float $precision = 1) Ceil the current instance day with given precision.
1
$this ceilWeeks(float $precision = 1) Ceil the current instance day with given precision.
1
$this roundDay(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
1
$this roundDays(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
1
$this floorDay(float $precision = 1) Truncate the current instance day with given precision.
1
$this floorDays(float $precision = 1) Truncate the current instance day with given precision.
1
$this ceilDay(float $precision = 1) Ceil the current instance day with given precision.
1
$this ceilDays(float $precision = 1) Ceil the current instance day with given precision.
1
$this roundHour(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
1
$this roundHours(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
1
$this floorHour(float $precision = 1) Truncate the current instance hour with given precision.
1
$this floorHours(float $precision = 1) Truncate the current instance hour with given precision.
1
$this ceilHour(float $precision = 1) Ceil the current instance hour with given precision.
1
$this ceilHours(float $precision = 1) Ceil the current instance hour with given precision.
1
$this roundMinute(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
1
$this roundMinutes(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
1
$this floorMinute(float $precision = 1) Truncate the current instance minute with given precision.
1
$this floorMinutes(float $precision = 1) Truncate the current instance minute with given precision.
1
$this ceilMinute(float $precision = 1) Ceil the current instance minute with given precision.
1
$this ceilMinutes(float $precision = 1) Ceil the current instance minute with given precision.
1
$this roundSecond(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
1
$this roundSeconds(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
1
$this floorSecond(float $precision = 1) Truncate the current instance second with given precision.
1
$this floorSeconds(float $precision = 1) Truncate the current instance second with given precision.
1
$this ceilSecond(float $precision = 1) Ceil the current instance second with given precision.
1
$this ceilSeconds(float $precision = 1) Ceil the current instance second with given precision.
1
$this roundMillennium(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
1
$this roundMillennia(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
1
$this floorMillennium(float $precision = 1) Truncate the current instance millennium with given precision.
1
$this floorMillennia(float $precision = 1) Truncate the current instance millennium with given precision.
1
$this ceilMillennium(float $precision = 1) Ceil the current instance millennium with given precision.
1
$this ceilMillennia(float $precision = 1) Ceil the current instance millennium with given precision.
1
$this roundCentury(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
1
$this roundCenturies(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
1
$this floorCentury(float $precision = 1) Truncate the current instance century with given precision.
1
$this floorCenturies(float $precision = 1) Truncate the current instance century with given precision.
1
$this ceilCentury(float $precision = 1) Ceil the current instance century with given precision.
1
$this ceilCenturies(float $precision = 1) Ceil the current instance century with given precision.
1
$this roundDecade(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
1
$this roundDecades(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
1
$this floorDecade(float $precision = 1) Truncate the current instance decade with given precision.
1
$this floorDecades(float $precision = 1) Truncate the current instance decade with given precision.
1
$this ceilDecade(float $precision = 1) Ceil the current instance decade with given precision.
1
$this ceilDecades(float $precision = 1) Ceil the current instance decade with given precision.
1
$this roundQuarter(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
1
$this roundQuarters(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
1
$this floorQuarter(float $precision = 1) Truncate the current instance quarter with given precision.
1
$this floorQuarters(float $precision = 1) Truncate the current instance quarter with given precision.
1
$this ceilQuarter(float $precision = 1) Ceil the current instance quarter with given precision.
1
$this ceilQuarters(float $precision = 1) Ceil the current instance quarter with given precision.
1
$this roundMillisecond(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
1
$this roundMilliseconds(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
1
$this floorMillisecond(float $precision = 1) Truncate the current instance millisecond with given precision.
1
$this floorMilliseconds(float $precision = 1) Truncate the current instance millisecond with given precision.
1
$this ceilMillisecond(float $precision = 1) Ceil the current instance millisecond with given precision.
1
$this ceilMilliseconds(float $precision = 1) Ceil the current instance millisecond with given precision.
1
$this roundMicrosecond(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
1
$this roundMicroseconds(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
1
$this floorMicrosecond(float $precision = 1) Truncate the current instance microsecond with given precision.
1
$this floorMicroseconds(float $precision = 1) Truncate the current instance microsecond with given precision.
1
$this ceilMicrosecond(float $precision = 1) Ceil the current instance microsecond with given precision.
1
$this ceilMicroseconds(float $precision = 1) Ceil the current instance microsecond with given precision.
1
CarbonImmutable|false create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null) Create a new Carbon instance from a specific date and time.
1
CarbonImmutable createFromDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to now.
1
CarbonImmutable|false createFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
1
CarbonImmutable|false createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null) Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()).
1
CarbonImmutable|false createFromLocaleFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific format and a string in a given language.
1
CarbonImmutable|false createFromLocaleIsoFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific ISO format and a string in a given language.
1
CarbonImmutable createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) Create a Carbon instance from just a time. The date portion is set to today.
1
CarbonImmutable createFromTimeString($time, $tz = null) Create a Carbon instance from a time string. The date portion is set to today.
1
CarbonImmutable createFromTimestamp($timestamp, $tz = null) Create a Carbon instance from a timestamp and set the timezone (use default one if not specified).
1
CarbonImmutable createFromTimestampMs($timestamp, $tz = null) Create a Carbon instance from a timestamp in milliseconds.
1
CarbonImmutable createFromTimestampMsUTC($timestamp) Create a Carbon instance from a timestamp in milliseconds.
1
CarbonImmutable createFromTimestampUTC($timestamp) Create a Carbon instance from an timestamp keeping the timezone to UTC.
1
CarbonImmutable createMidnightDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to midnight.
1
CarbonImmutable|false createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null) Create a new safe Carbon instance from a specific date and time.
1
CarbonImmutable disableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
1
CarbonImmutable enableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
1
CarbonImmutable fromSerialized($value) Create an instance from a serialized string.
1
Closure|CarbonImmutable getTestNow() Get the Carbon instance (real or mock) to be returned when a "now"
1
CarbonImmutable instance($date) Create a Carbon instance from a DateTime one.
1
CarbonImmutable|null make($var) Make a Carbon instance from given variable if possible.
1
CarbonImmutable maxValue() Create a Carbon instance for the greatest supported date.
1
CarbonImmutable minValue() Create a Carbon instance for the lowest supported date.
1
CarbonImmutable now($tz = null) Get a Carbon instance for the current date and time.
1
CarbonImmutable parse($time = null, $tz = null) Create a carbon instance from a string.
1
CarbonImmutable parseFromLocale($time, $locale = null, $tz = null) Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
1
CarbonImmutable|false rawCreateFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
1
CarbonImmutable rawParse($time = null, $tz = null) Create a carbon instance from a string.
1
CarbonImmutable resetMacros() Remove all macros and generic macros.
1
CarbonImmutable setFallbackLocale($locale) Set the fallback locale.
1
CarbonImmutable setHumanDiffOptions($humanDiffOptions) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
1
CarbonImmutable setTestNow($testNow = null) Set a Carbon instance (real or mock) to be returned when a "now"
1
CarbonImmutable setTestNowAndTimezone($testNow = null, $tz = null) Set a Carbon instance (real or mock) to be returned when a "now"
1
CarbonImmutable setUtf8($utf8) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
1
CarbonImmutable today($tz = null) Create a Carbon instance for today.
1
CarbonImmutable tomorrow($tz = null) Create a Carbon instance for tomorrow.
1
CarbonImmutable useStrictMode($strictModeEnabled = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
1
CarbonImmutable yesterday($tz = null) Create a Carbon instance for yesterday.
static Tags button() creates a html button element
2
bool canBeCreatedFromFormat($date, $format) Checks if the (date)time string is in a given format and valid to create a
2
CarbonInterface createStrict(?int $year = 0, ?int $month = 1, ?int $day = 1, ?int $hour = 0, ?int $minute = 0, ?int $second = 0, $tz = null) Create a new Carbon instance from a specific date and time using strict validation.
2
mixed executeWithLocale($locale, $func) Set the current locale to the given, execute the passed function, reset the locale to previous one,
2
void genericMacro($macro, $priority = 0) Register a custom macro.
2
array getAvailableLocales() Returns the list of internally available locales and already loaded custom locales.
2
Language[] getAvailableLocalesInfo() Returns list of Language object for each available locale. This object allow you to get the ISO name, native
2
array getDays() Get the days of the week
2
string|null getFallbackLocale() Get the fallback locale.
2
array getFormatsToIsoReplacements() List of replacements from date() format to isoFormat().
2
int getHumanDiffOptions() Return default humanDiff() options (merged flags as integer).
2
array getIsoUnits() Returns list of locale units for ISO formatting.
2
array getLastErrors() {@inheritdoc}
2
string getLocale() Get the current translator locale.
2
callable|null getMacro($name) Get the raw callable macro registered globally for a given name.
2
int getMidDayAt() get midday/noon hour
2
string getTimeFormatByPrecision($unitPrecision) Return a format from H:i to H:i:s.u according to given unit precision.
2
string getTranslationMessageWith($translator, string $key, ?string $locale = null, ?string $default = null) Returns raw translation message for a given key.
2
\Symfony\Component\Translation\TranslatorInterface getTranslator() Get the default translator instance in use.
2
int getWeekEndsAt() Get the last day of week
2
int getWeekStartsAt() Get the first day of week
2
array getWeekendDays() Get weekend days
2
bool hasFormat($date, $format) Checks if the (date)time string is in a given format.
2
bool hasFormatWithModifiers($date, $format) Checks if the (date)time string is in a given format.
2
bool hasMacro($name) Checks if macro is registered globally.
2
bool hasRelativeKeywords($time) Determine if a time string will produce a relative date.
2
bool hasTestNow() Determine if there is a valid test instance set. A valid test instance
2
bool isImmutable() Returns true if the current class/instance is immutable.
2
bool isModifiableUnit($unit) Returns true if a property can be changed via setter.
2
bool isMutable() Returns true if the current class/instance is mutable.
2
bool isStrictModeEnabled() Returns true if the strict mode is globally in use, false else.
2
bool localeHasDiffOneDayWords($locale) Returns true if the given locale is internally supported and has words for 1-day diff (just now, yesterday, tomorrow).
2
bool localeHasDiffSyntax($locale) Returns true if the given locale is internally supported and has diff syntax support (ago, from now, before, after).
2
bool localeHasDiffTwoDayWords($locale) Returns true if the given locale is internally supported and has words for 2-days diff (before yesterday, after tomorrow).
2
bool localeHasPeriodSyntax($locale) Returns true if the given locale is internally supported and has period syntax support (X times, every X, from X, to X).
2
bool localeHasShortUnits($locale) Returns true if the given locale is internally supported and has short-units support.
2
void macro($name, $macro) Register a custom macro.
2
void mixin($mixin) Mix another object into the class.
2
string pluralUnit(string $unit) Returns standardized plural of a given singular/plural unit name (in English).
2
void resetMonthsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
2
void resetToStringFormat() Reset the format used to the default when type juggling a Carbon instance to a string
2
void resetYearsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
2
void serializeUsing($callback) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
2
bool setLocale($locale) Set the current translator locale and indicate if the source locale file exists.
2
void setMidDayAt($hour) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
2
void setToStringFormat($format) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
2
void setTranslator(TranslatorInterface $translator) Set the default translator instance to use.
2
void setWeekEndsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
2
void setWeekStartsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
2
void setWeekendDays($days) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
2
bool shouldOverflowMonths() Get the month overflow global behavior (can be overridden in specific instances).
2
bool shouldOverflowYears() Get the month overflow global behavior (can be overridden in specific instances).
2
string singularUnit(string $unit) Returns standardized singular of a given singular/plural unit name (in English).
2
string translateTimeString($timeString, $from = null, $to = null, $mode = CarbonInterface::TRANSLATE_ALL) Translate a time string from a locale to an other.
2
string translateWith(TranslatorInterface $translator, string $key, array $parameters = [], $number = null) Translate using translation string or callback available.
2
void useMonthsOverflow($monthsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
2
void useYearsOverflow($yearsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
2
mixed withTestNow($testNow = null, $callback = null) Temporarily sets a static date to be used within the callback.
bool isUtc() Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
2
bool isLocal() Check if the current instance has non-UTC timezone.
2
bool isValid() Check if the current instance is a valid date.
2
bool isDST() Check if the current instance is in a daylight saving time.
2
bool isSunday() Checks if the instance day is sunday.
2
bool isMonday() Checks if the instance day is monday.
2
bool isTuesday() Checks if the instance day is tuesday.
2
bool isWednesday() Checks if the instance day is wednesday.
2
bool isThursday() Checks if the instance day is thursday.
2
bool isFriday() Checks if the instance day is friday.
2
bool isSaturday() Checks if the instance day is saturday.
2
bool isSameYear(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same year as the instance. If null passed, compare to now (with the same timezone).
2
bool isCurrentYear() Checks if the instance is in the same year as the current moment.
2
bool isNextYear() Checks if the instance is in the same year as the current moment next year.
2
bool isLastYear() Checks if the instance is in the same year as the current moment last year.
2
bool isSameWeek(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same week as the instance. If null passed, compare to now (with the same timezone).
2
bool isCurrentWeek() Checks if the instance is in the same week as the current moment.
2
bool isNextWeek() Checks if the instance is in the same week as the current moment next week.
2
bool isLastWeek() Checks if the instance is in the same week as the current moment last week.
2
bool isSameDay(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same day as the instance. If null passed, compare to now (with the same timezone).
2
bool isCurrentDay() Checks if the instance is in the same day as the current moment.
2
bool isNextDay() Checks if the instance is in the same day as the current moment next day.
2
bool isLastDay() Checks if the instance is in the same day as the current moment last day.
2
bool isSameHour(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same hour as the instance. If null passed, compare to now (with the same timezone).
2
bool isCurrentHour() Checks if the instance is in the same hour as the current moment.
2
bool isNextHour() Checks if the instance is in the same hour as the current moment next hour.
2
bool isLastHour() Checks if the instance is in the same hour as the current moment last hour.
2
bool isSameMinute(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same minute as the instance. If null passed, compare to now (with the same timezone).
2
bool isCurrentMinute() Checks if the instance is in the same minute as the current moment.
2
bool isNextMinute() Checks if the instance is in the same minute as the current moment next minute.
2
bool isLastMinute() Checks if the instance is in the same minute as the current moment last minute.
2
bool isSameSecond(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same second as the instance. If null passed, compare to now (with the same timezone).
2
bool isCurrentSecond() Checks if the instance is in the same second as the current moment.
2
bool isNextSecond() Checks if the instance is in the same second as the current moment next second.
2
bool isLastSecond() Checks if the instance is in the same second as the current moment last second.
2
bool isSameMicro(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
2
bool isCurrentMicro() Checks if the instance is in the same microsecond as the current moment.
2
bool isNextMicro() Checks if the instance is in the same microsecond as the current moment next microsecond.
2
bool isLastMicro() Checks if the instance is in the same microsecond as the current moment last microsecond.
2
bool isSameMicrosecond(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
2
bool isCurrentMicrosecond() Checks if the instance is in the same microsecond as the current moment.
2
bool isNextMicrosecond() Checks if the instance is in the same microsecond as the current moment next microsecond.
2
bool isLastMicrosecond() Checks if the instance is in the same microsecond as the current moment last microsecond.
2
bool isCurrentMonth() Checks if the instance is in the same month as the current moment.
2
bool isNextMonth() Checks if the instance is in the same month as the current moment next month.
2
bool isLastMonth() Checks if the instance is in the same month as the current moment last month.
2
bool isCurrentQuarter() Checks if the instance is in the same quarter as the current moment.
2
bool isNextQuarter() Checks if the instance is in the same quarter as the current moment next quarter.
2
bool isLastQuarter() Checks if the instance is in the same quarter as the current moment last quarter.
2
bool isSameDecade(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same decade as the instance. If null passed, compare to now (with the same timezone).
2
bool isCurrentDecade() Checks if the instance is in the same decade as the current moment.
2
bool isNextDecade() Checks if the instance is in the same decade as the current moment next decade.
2
bool isLastDecade() Checks if the instance is in the same decade as the current moment last decade.
2
bool isSameCentury(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same century as the instance. If null passed, compare to now (with the same timezone).
2
bool isCurrentCentury() Checks if the instance is in the same century as the current moment.
2
bool isNextCentury() Checks if the instance is in the same century as the current moment next century.
2
bool isLastCentury() Checks if the instance is in the same century as the current moment last century.
2
bool isSameMillennium(Carbon|DateTimeInterface|string|null $date = null) Checks if the given date is in the same millennium as the instance. If null passed, compare to now (with the same timezone).
2
bool isCurrentMillennium() Checks if the instance is in the same millennium as the current moment.
2
bool isNextMillennium() Checks if the instance is in the same millennium as the current moment next millennium.
2
bool isLastMillennium() Checks if the instance is in the same millennium as the current moment last millennium.
2
CarbonInterface years(int $value) Set current instance year to the given value.
2
CarbonInterface year(int $value) Set current instance year to the given value.
2
CarbonInterface setYears(int $value) Set current instance year to the given value.
2
CarbonInterface setYear(int $value) Set current instance year to the given value.
2
CarbonInterface months(int $value) Set current instance month to the given value.
2
CarbonInterface month(int $value) Set current instance month to the given value.
2
CarbonInterface setMonths(int $value) Set current instance month to the given value.
2
CarbonInterface setMonth(int $value) Set current instance month to the given value.
2
CarbonInterface days(int $value) Set current instance day to the given value.
2
CarbonInterface day(int $value) Set current instance day to the given value.
2
CarbonInterface setDays(int $value) Set current instance day to the given value.
2
CarbonInterface setDay(int $value) Set current instance day to the given value.
2
CarbonInterface hours(int $value) Set current instance hour to the given value.
2
CarbonInterface hour(int $value) Set current instance hour to the given value.
2
CarbonInterface setHours(int $value) Set current instance hour to the given value.
2
CarbonInterface setHour(int $value) Set current instance hour to the given value.
2
CarbonInterface minutes(int $value) Set current instance minute to the given value.
2
CarbonInterface minute(int $value) Set current instance minute to the given value.
2
CarbonInterface setMinutes(int $value) Set current instance minute to the given value.
2
CarbonInterface setMinute(int $value) Set current instance minute to the given value.
2
CarbonInterface seconds(int $value) Set current instance second to the given value.
2
CarbonInterface second(int $value) Set current instance second to the given value.
2
CarbonInterface setSeconds(int $value) Set current instance second to the given value.
2
CarbonInterface setSecond(int $value) Set current instance second to the given value.
2
CarbonInterface millis(int $value) Set current instance millisecond to the given value.
2
CarbonInterface milli(int $value) Set current instance millisecond to the given value.
2
CarbonInterface setMillis(int $value) Set current instance millisecond to the given value.
2
CarbonInterface setMilli(int $value) Set current instance millisecond to the given value.
2
CarbonInterface milliseconds(int $value) Set current instance millisecond to the given value.
2
CarbonInterface millisecond(int $value) Set current instance millisecond to the given value.
2
CarbonInterface setMilliseconds(int $value) Set current instance millisecond to the given value.
2
CarbonInterface setMillisecond(int $value) Set current instance millisecond to the given value.
2
CarbonInterface micros(int $value) Set current instance microsecond to the given value.
2
CarbonInterface micro(int $value) Set current instance microsecond to the given value.
2
CarbonInterface setMicros(int $value) Set current instance microsecond to the given value.
2
CarbonInterface setMicro(int $value) Set current instance microsecond to the given value.
2
CarbonInterface microseconds(int $value) Set current instance microsecond to the given value.
2
CarbonInterface microsecond(int $value) Set current instance microsecond to the given value.
2
CarbonInterface setMicroseconds(int $value) Set current instance microsecond to the given value.
2
CarbonInterface setMicrosecond(int $value) Set current instance microsecond to the given value.
2
CarbonInterface addYears(int $value = 1) Add years (the $value count passed in) to the instance (using date interval).
2
CarbonInterface addYear() Add one year to the instance (using date interval).
2
CarbonInterface subYears(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval).
2
CarbonInterface subYear() Sub one year to the instance (using date interval).
2
CarbonInterface addYearsWithOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface addYearWithOverflow() Add one year to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface subYearsWithOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface subYearWithOverflow() Sub one year to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface addYearsWithoutOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addYearWithoutOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subYearsWithoutOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subYearWithoutOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addYearsWithNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addYearWithNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subYearsWithNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subYearWithNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addYearsNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addYearNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subYearsNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subYearNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addMonths(int $value = 1) Add months (the $value count passed in) to the instance (using date interval).
2
CarbonInterface addMonth() Add one month to the instance (using date interval).
2
CarbonInterface subMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval).
2
CarbonInterface subMonth() Sub one month to the instance (using date interval).
2
CarbonInterface addMonthsWithOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface addMonthWithOverflow() Add one month to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface subMonthsWithOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface subMonthWithOverflow() Sub one month to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface addMonthsWithoutOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addMonthWithoutOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subMonthsWithoutOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subMonthWithoutOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addMonthsWithNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addMonthWithNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subMonthsWithNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subMonthWithNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addMonthsNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addMonthNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subMonthsNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subMonthNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addDays(int $value = 1) Add days (the $value count passed in) to the instance (using date interval).
2
CarbonInterface addDay() Add one day to the instance (using date interval).
2
CarbonInterface subDays(int $value = 1) Sub days (the $value count passed in) to the instance (using date interval).
2
CarbonInterface subDay() Sub one day to the instance (using date interval).
2
CarbonInterface addHours(int $value = 1) Add hours (the $value count passed in) to the instance (using date interval).
2
CarbonInterface addHour() Add one hour to the instance (using date interval).
2
CarbonInterface subHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using date interval).
2
CarbonInterface subHour() Sub one hour to the instance (using date interval).
2
CarbonInterface addMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using date interval).
2
CarbonInterface addMinute() Add one minute to the instance (using date interval).
2
CarbonInterface subMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using date interval).
2
CarbonInterface subMinute() Sub one minute to the instance (using date interval).
2
CarbonInterface addSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using date interval).
2
CarbonInterface addSecond() Add one second to the instance (using date interval).
2
CarbonInterface subSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using date interval).
2
CarbonInterface subSecond() Sub one second to the instance (using date interval).
2
CarbonInterface addMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
2
CarbonInterface addMilli() Add one millisecond to the instance (using date interval).
2
CarbonInterface subMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
2
CarbonInterface subMilli() Sub one millisecond to the instance (using date interval).
2
CarbonInterface addMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
2
CarbonInterface addMillisecond() Add one millisecond to the instance (using date interval).
2
CarbonInterface subMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
2
CarbonInterface subMillisecond() Sub one millisecond to the instance (using date interval).
2
CarbonInterface addMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
2
CarbonInterface addMicro() Add one microsecond to the instance (using date interval).
2
CarbonInterface subMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
2
CarbonInterface subMicro() Sub one microsecond to the instance (using date interval).
2
CarbonInterface addMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
2
CarbonInterface addMicrosecond() Add one microsecond to the instance (using date interval).
2
CarbonInterface subMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
2
CarbonInterface subMicrosecond() Sub one microsecond to the instance (using date interval).
2
CarbonInterface addMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval).
2
CarbonInterface addMillennium() Add one millennium to the instance (using date interval).
2
CarbonInterface subMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval).
2
CarbonInterface subMillennium() Sub one millennium to the instance (using date interval).
2
CarbonInterface addMillenniaWithOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface addMillenniumWithOverflow() Add one millennium to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface subMillenniaWithOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface subMillenniumWithOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface addMillenniaWithoutOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addMillenniumWithoutOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subMillenniaWithoutOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subMillenniumWithoutOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addMillenniaWithNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addMillenniumWithNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subMillenniaWithNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subMillenniumWithNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addMillenniaNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addMillenniumNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subMillenniaNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subMillenniumNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval).
2
CarbonInterface addCentury() Add one century to the instance (using date interval).
2
CarbonInterface subCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval).
2
CarbonInterface subCentury() Sub one century to the instance (using date interval).
2
CarbonInterface addCenturiesWithOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface addCenturyWithOverflow() Add one century to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface subCenturiesWithOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface subCenturyWithOverflow() Sub one century to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface addCenturiesWithoutOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addCenturyWithoutOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subCenturiesWithoutOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subCenturyWithoutOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addCenturiesWithNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addCenturyWithNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subCenturiesWithNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subCenturyWithNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addCenturiesNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addCenturyNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subCenturiesNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subCenturyNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval).
2
CarbonInterface addDecade() Add one decade to the instance (using date interval).
2
CarbonInterface subDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval).
2
CarbonInterface subDecade() Sub one decade to the instance (using date interval).
2
CarbonInterface addDecadesWithOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface addDecadeWithOverflow() Add one decade to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface subDecadesWithOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface subDecadeWithOverflow() Sub one decade to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface addDecadesWithoutOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addDecadeWithoutOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subDecadesWithoutOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subDecadeWithoutOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addDecadesWithNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addDecadeWithNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subDecadesWithNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subDecadeWithNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addDecadesNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addDecadeNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subDecadesNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subDecadeNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval).
2
CarbonInterface addQuarter() Add one quarter to the instance (using date interval).
2
CarbonInterface subQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval).
2
CarbonInterface subQuarter() Sub one quarter to the instance (using date interval).
2
CarbonInterface addQuartersWithOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface addQuarterWithOverflow() Add one quarter to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface subQuartersWithOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface subQuarterWithOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly allowed.
2
CarbonInterface addQuartersWithoutOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addQuarterWithoutOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subQuartersWithoutOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subQuarterWithoutOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addQuartersWithNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addQuarterWithNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subQuartersWithNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subQuarterWithNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addQuartersNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addQuarterNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subQuartersNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface subQuarterNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
2
CarbonInterface addWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using date interval).
2
CarbonInterface addWeek() Add one week to the instance (using date interval).
2
CarbonInterface subWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using date interval).
2
CarbonInterface subWeek() Sub one week to the instance (using date interval).
2
CarbonInterface addWeekdays(int $value = 1) Add weekdays (the $value count passed in) to the instance (using date interval).
2
CarbonInterface addWeekday() Add one weekday to the instance (using date interval).
2
CarbonInterface subWeekdays(int $value = 1) Sub weekdays (the $value count passed in) to the instance (using date interval).
2
CarbonInterface subWeekday() Sub one weekday to the instance (using date interval).
2
CarbonInterface addRealMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface addRealMicro() Add one microsecond to the instance (using timestamp).
2
CarbonInterface subRealMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface subRealMicro() Sub one microsecond to the instance (using timestamp).
2
CarbonPeriod microsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
2
CarbonInterface addRealMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface addRealMicrosecond() Add one microsecond to the instance (using timestamp).
2
CarbonInterface subRealMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface subRealMicrosecond() Sub one microsecond to the instance (using timestamp).
2
CarbonPeriod microsecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
2
CarbonInterface addRealMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface addRealMilli() Add one millisecond to the instance (using timestamp).
2
CarbonInterface subRealMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface subRealMilli() Sub one millisecond to the instance (using timestamp).
2
CarbonPeriod millisUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
2
CarbonInterface addRealMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface addRealMillisecond() Add one millisecond to the instance (using timestamp).
2
CarbonInterface subRealMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface subRealMillisecond() Sub one millisecond to the instance (using timestamp).
2
CarbonPeriod millisecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
2
CarbonInterface addRealSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface addRealSecond() Add one second to the instance (using timestamp).
2
CarbonInterface subRealSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface subRealSecond() Sub one second to the instance (using timestamp).
2
CarbonPeriod secondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each second or every X seconds if a factor is given.
2
CarbonInterface addRealMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface addRealMinute() Add one minute to the instance (using timestamp).
2
CarbonInterface subRealMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface subRealMinute() Sub one minute to the instance (using timestamp).
2
CarbonPeriod minutesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each minute or every X minutes if a factor is given.
2
CarbonInterface addRealHours(int $value = 1) Add hours (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface addRealHour() Add one hour to the instance (using timestamp).
2
CarbonInterface subRealHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface subRealHour() Sub one hour to the instance (using timestamp).
2
CarbonPeriod hoursUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each hour or every X hours if a factor is given.
2
CarbonInterface addRealDays(int $value = 1) Add days (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface addRealDay() Add one day to the instance (using timestamp).
2
CarbonInterface subRealDays(int $value = 1) Sub days (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface subRealDay() Sub one day to the instance (using timestamp).
2
CarbonPeriod daysUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each day or every X days if a factor is given.
2
CarbonInterface addRealWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface addRealWeek() Add one week to the instance (using timestamp).
2
CarbonInterface subRealWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface subRealWeek() Sub one week to the instance (using timestamp).
2
CarbonPeriod weeksUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each week or every X weeks if a factor is given.
2
CarbonInterface addRealMonths(int $value = 1) Add months (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface addRealMonth() Add one month to the instance (using timestamp).
2
CarbonInterface subRealMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface subRealMonth() Sub one month to the instance (using timestamp).
2
CarbonPeriod monthsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each month or every X months if a factor is given.
2
CarbonInterface addRealQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface addRealQuarter() Add one quarter to the instance (using timestamp).
2
CarbonInterface subRealQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface subRealQuarter() Sub one quarter to the instance (using timestamp).
2
CarbonPeriod quartersUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each quarter or every X quarters if a factor is given.
2
CarbonInterface addRealYears(int $value = 1) Add years (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface addRealYear() Add one year to the instance (using timestamp).
2
CarbonInterface subRealYears(int $value = 1) Sub years (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface subRealYear() Sub one year to the instance (using timestamp).
2
CarbonPeriod yearsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each year or every X years if a factor is given.
2
CarbonInterface addRealDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface addRealDecade() Add one decade to the instance (using timestamp).
2
CarbonInterface subRealDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface subRealDecade() Sub one decade to the instance (using timestamp).
2
CarbonPeriod decadesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each decade or every X decades if a factor is given.
2
CarbonInterface addRealCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface addRealCentury() Add one century to the instance (using timestamp).
2
CarbonInterface subRealCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface subRealCentury() Sub one century to the instance (using timestamp).
2
CarbonPeriod centuriesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each century or every X centuries if a factor is given.
2
CarbonInterface addRealMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface addRealMillennium() Add one millennium to the instance (using timestamp).
2
CarbonInterface subRealMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using timestamp).
2
CarbonInterface subRealMillennium() Sub one millennium to the instance (using timestamp).
2
CarbonPeriod millenniaUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millennium or every X millennia if a factor is given.
2
CarbonInterface roundYear(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
2
CarbonInterface roundYears(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
2
CarbonInterface floorYear(float $precision = 1) Truncate the current instance year with given precision.
2
CarbonInterface floorYears(float $precision = 1) Truncate the current instance year with given precision.
2
CarbonInterface ceilYear(float $precision = 1) Ceil the current instance year with given precision.
2
CarbonInterface ceilYears(float $precision = 1) Ceil the current instance year with given precision.
2
CarbonInterface roundMonth(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
2
CarbonInterface roundMonths(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
2
CarbonInterface floorMonth(float $precision = 1) Truncate the current instance month with given precision.
2
CarbonInterface floorMonths(float $precision = 1) Truncate the current instance month with given precision.
2
CarbonInterface ceilMonth(float $precision = 1) Ceil the current instance month with given precision.
2
CarbonInterface ceilMonths(float $precision = 1) Ceil the current instance month with given precision.
2
CarbonInterface roundDay(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
2
CarbonInterface roundDays(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
2
CarbonInterface floorDay(float $precision = 1) Truncate the current instance day with given precision.
2
CarbonInterface floorDays(float $precision = 1) Truncate the current instance day with given precision.
2
CarbonInterface ceilDay(float $precision = 1) Ceil the current instance day with given precision.
2
CarbonInterface ceilDays(float $precision = 1) Ceil the current instance day with given precision.
2
CarbonInterface roundHour(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
2
CarbonInterface roundHours(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
2
CarbonInterface floorHour(float $precision = 1) Truncate the current instance hour with given precision.
2
CarbonInterface floorHours(float $precision = 1) Truncate the current instance hour with given precision.
2
CarbonInterface ceilHour(float $precision = 1) Ceil the current instance hour with given precision.
2
CarbonInterface ceilHours(float $precision = 1) Ceil the current instance hour with given precision.
2
CarbonInterface roundMinute(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
2
CarbonInterface roundMinutes(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
2
CarbonInterface floorMinute(float $precision = 1) Truncate the current instance minute with given precision.
2
CarbonInterface floorMinutes(float $precision = 1) Truncate the current instance minute with given precision.
2
CarbonInterface ceilMinute(float $precision = 1) Ceil the current instance minute with given precision.
2
CarbonInterface ceilMinutes(float $precision = 1) Ceil the current instance minute with given precision.
2
CarbonInterface roundSecond(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
2
CarbonInterface roundSeconds(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
2
CarbonInterface floorSecond(float $precision = 1) Truncate the current instance second with given precision.
2
CarbonInterface floorSeconds(float $precision = 1) Truncate the current instance second with given precision.
2
CarbonInterface ceilSecond(float $precision = 1) Ceil the current instance second with given precision.
2
CarbonInterface ceilSeconds(float $precision = 1) Ceil the current instance second with given precision.
2
CarbonInterface roundMillennium(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
2
CarbonInterface roundMillennia(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
2
CarbonInterface floorMillennium(float $precision = 1) Truncate the current instance millennium with given precision.
2
CarbonInterface floorMillennia(float $precision = 1) Truncate the current instance millennium with given precision.
2
CarbonInterface ceilMillennium(float $precision = 1) Ceil the current instance millennium with given precision.
2
CarbonInterface ceilMillennia(float $precision = 1) Ceil the current instance millennium with given precision.
2
CarbonInterface roundCentury(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
2
CarbonInterface roundCenturies(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
2
CarbonInterface floorCentury(float $precision = 1) Truncate the current instance century with given precision.
2
CarbonInterface floorCenturies(float $precision = 1) Truncate the current instance century with given precision.
2
CarbonInterface ceilCentury(float $precision = 1) Ceil the current instance century with given precision.
2
CarbonInterface ceilCenturies(float $precision = 1) Ceil the current instance century with given precision.
2
CarbonInterface roundDecade(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
2
CarbonInterface roundDecades(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
2
CarbonInterface floorDecade(float $precision = 1) Truncate the current instance decade with given precision.
2
CarbonInterface floorDecades(float $precision = 1) Truncate the current instance decade with given precision.
2
CarbonInterface ceilDecade(float $precision = 1) Ceil the current instance decade with given precision.
2
CarbonInterface ceilDecades(float $precision = 1) Ceil the current instance decade with given precision.
2
CarbonInterface roundQuarter(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
2
CarbonInterface roundQuarters(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
2
CarbonInterface floorQuarter(float $precision = 1) Truncate the current instance quarter with given precision.
2
CarbonInterface floorQuarters(float $precision = 1) Truncate the current instance quarter with given precision.
2
CarbonInterface ceilQuarter(float $precision = 1) Ceil the current instance quarter with given precision.
2
CarbonInterface ceilQuarters(float $precision = 1) Ceil the current instance quarter with given precision.
2
CarbonInterface roundMillisecond(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
2
CarbonInterface roundMilliseconds(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
2
CarbonInterface floorMillisecond(float $precision = 1) Truncate the current instance millisecond with given precision.
2
CarbonInterface floorMilliseconds(float $precision = 1) Truncate the current instance millisecond with given precision.
2
CarbonInterface ceilMillisecond(float $precision = 1) Ceil the current instance millisecond with given precision.
2
CarbonInterface ceilMilliseconds(float $precision = 1) Ceil the current instance millisecond with given precision.
2
CarbonInterface roundMicrosecond(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
2
CarbonInterface roundMicroseconds(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
2
CarbonInterface floorMicrosecond(float $precision = 1) Truncate the current instance microsecond with given precision.
2
CarbonInterface floorMicroseconds(float $precision = 1) Truncate the current instance microsecond with given precision.
2
CarbonInterface ceilMicrosecond(float $precision = 1) Ceil the current instance microsecond with given precision.
2
CarbonInterface ceilMicroseconds(float $precision = 1) Ceil the current instance microsecond with given precision.
2
string shortAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
2
string longAbsoluteDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
2
string shortRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
2
string longRelativeDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
2
string shortRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
2
string longRelativeToNowDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
2
string shortRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
2
string longRelativeToOtherDiffForHumans(DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
2
static void assertNothingSent()
3
static array all()
3
static string getLocale()
4
static copy()
4
@mixin
\Illuminate\Contracts\Support\MessageBag
1
Client
1
Query
1
\Illuminate\Support\Collection
2
\Illuminate\Support\Enumerable
2
DeprecatedProperties
3
@mymodule
to search into directory "img" of module.
1
if picto.png is stored into htdocs/mymodule/img
4
@note
This array should be removed in future, once previous constants are moved to the string value. Deprecated
1
Move to const array when PHP 5.6 will be our minimum target
3
@override
*
1
*/
1
* @param Node $node Node to analyze
2
@package
Testmymodule
1
Ticket
1
geoPHP
1
sfMapFishPlugin
1
Webklex\IMAP
1
DebugBar\Bridge\Twig
1
Webklex\PHPIMAP\Traits
1
Luracast\Restler\UI
2
Webklex\PHPIMAP\Query
2
PrestaShopWebservice
2
Webklex\PHPIMAP\Support\Masks
3
Webklex\PHPIMAP\Connection\Protocols
4
Webklex\PHPIMAP\Support
5
Luracast\Restler
6
restler
6
Mail_Mime
6
Webklex\PHPIMAP
10
Webklex\PHPIMAP\Events
11
Webklex\PHPIMAP\Exceptions
17
com.tecnick.tcpdf
22
Restler
102
@param
$sessionname string Session name
1
string $text Text to show on logo
1
string $options More parameters on img tag
1
string $morecss More CSS
1
mixed $c data to check if countable
1
array $matches Array with a decimal numeric entity into key 0, value without the into the key 1
1
string $val Brute value found into $_GET, $_POST or PHP_SELF
1
string $type 0=POST, 1=GET, 2=PHP_SELF, 3=GET without sql reserved keywords (the less tolerant test)
1
string|array $var Variable name
1
int<0,2> $type 1=GET, 0=POST, 2=PHP_SELF
1
int<0,1> $stopcode 0=No stop code, 1=Stop code (default) if injection found
1
string $head Optional head lines
1
string $title HTML title
1
string $help_url Url links to help page
1
string $target Target to use on links
1
int $disablejs More content into html header
1
int $disablehead More content into html header
1
array|string $arrayofjs Array of complementary js files
1
array|string $arrayofcss Array of complementary css files
1
string $morecssonbody More CSS on body tag. For example 'classforhorizontalscrolloftabs'.
1
string $replacemainareaby Replace call to main_area() by a print of this string
1
int $disablenofollow Disable the "nofollow" on meta robot header
1
int $disablenoindex Disable the "noindex" on meta robot header
1
string $contenttype Content type. For example, 'text/html'
1
int<0,1> $forcenocache Force disabling of cache for the page
1
string $head Optional head lines
1
string $title HTML title
1
int<0,1> $disablejs Disable js output
1
int<0,1> $disablehead Disable head output
1
string[] $arrayofjs Array of complementary js files
1
string[] $arrayofcss Array of complementary css files
1
int<0,1> $disableforlogin Do not load heavy js and css for login pages
1
int<0,1> $disablenofollow Disable nofollow tag for meta robots
1
int<0,1> $disablenoindex Disable noindex tag for meta robots
1
string $head Lines in the HEAD
1
string $title Title of web page
1
string $target Target to use in menu links (Example: '' or '_top')
1
int<0,1> $disablejs Do not output links to js (Ex: qd fonction utilisee par sous formulaire Ajax)
1
int<0,1> $disablehead Do not output head section
1
string[] $arrayofjs Array of js files to add in header
1
string[] $arrayofcss Array of css files to add in header
1
string $helppagename Name of wiki page for help ('' by default).
1
int<0,1> $hideloginname Hide login name. Show only the image.
1
string $urllogout URL for logout (Will use DOL_URL_ROOT.'/user/logout.php?token=...' if empty)
1
string $menu_array_before Table of menu entries to show before entries of menu handler. This param is deprecated and must be provided to ''.
1
string $helppagename Name of wiki page for help ('' by default).
1
string $notused Deprecated. Used in past to add content into left menu. Hooks can be used now.
1
array $menu_array_after Table of menu entries to show after entries of menu handler
1
int $leftmenuwithoutmainarea Must be set to 1. 0 by default for backward compatibility with old modules.
1
string $title Title of web page
1
int<0,1> $acceptdelayedhtml 1 if caller request to have html delayed content not returned but saved into global $delayedhtmlcontent (so caller can show it at end of page to avoid flash FOUC effect)
1
string $helppagename Page name ('EN:xxx,ES:eee,FR:fff,DE:ddd...' or 'http://localpage')
1
Translate $langs Language
1
string $urlaction Url post
1
string $urlobject Url of the link under the search box
1
string $title Title search area
1
string $htmlmorecss Add more css
1
string $htmlinputname Field Name input form
1
string $accesskey Accesskey
1
string $prefhtmlinputname Complement for id to avoid multiple same id in the page
1
string $img Image to use
1
int $showtitlebefore Show title before input text instead of into placeholder. This can be set when output is dedicated for text browsers.
1
int $autofocus Set autofocus on field
1
string $comment A text to add as HTML comment into HTML generated page
1
string $zone 'private' (for private pages) or 'public' (for public pages)
1
Workstation $object Workstation
1
MyObject $object MyObject
1
Target $object Target
1
Opensurveysondage $object Current viewing poll
1
string $numsondage Num survey
1
string $name Key to test
1
array $tableau Array in which searching key ($_POST by default)
1
string $id L'identifiant du sondage
1
bool $admin True pour générer une URL pour l'administration d'un sondage, False pour un URL publique
1
int $car Length of string to generate key
1
Holiday $holiday Object $holiday
1
int $user_id User id
1
int $id validator for current leave represented by (id)
1
int $cancreate flag for user right
1
int $now date
1
int $autoValidation boolean flag on autovalidation
1
string $class Class to load
1
array{time:int} $itemA Message A information
1
array{time:int} $itemB Message B information
1
mixed $v Feature information of a product.
1
array $val Array of val
1
string $typerecord Type of record ('payment', 'payment_supplier', 'payment_expensereport', 'payment_vat', ...)
1
string[] $fieldlist Array of fields
1
Object $obj If we show a particular record, obj is filled with record fields
1
string $tabname Name of SQL table
1
string $context 'add'=Output field for the "add form", 'edit'=Output field for the "edit form", 'hide'=Output field for the "add form" but we don't want it to be rendered
1
string $mainfile Full path name of main file to generate/update
1
string $main_dir Full path name to main.inc.php file
1
string $masterfile Full path name of master file to generate/update
1
string $main_dir Full path name to master.inc.php file
1
string $conffile Path to conf file to generate/update
1
Translate $langs Language
1
Conf $conf Conf
1
string $table Table name
1
string $fk_source Id of element source (name of field)
1
string $sourcetype Type of element source
1
string $fk_target Id of element target
1
string $targettype Type of element target
1
string $oldname Old name (relative to DOL_DATA_ROOT)
1
string $newname New name (relative to DOL_DATA_ROOT)
1
array $listofmodule List of modules, like array('MODULE_KEY_NAME'=>', $reloadmode)
1
int $force 1=Reload module even if not already loaded
1
string $mode 'export' or 'import'
1
string $program the script that was originally run
1
string $header the message to signal to the user
1
string $dolibarr_main_document_root Root directory of Dolibarr bin files
1
string $subtitle Title
1
string $next Next
1
string $action Action code ('set' or 'upgrade')
1
string $param Param
1
string $forcejqueryurl Set jquery relative URL (must end with / if defined)
1
string $csstable Css for table
1
integer $nonext 1=No button "Next step", 2=Show button but disabled with a link to enable
1
string $setuplang Language code
1
string $jscheckfunction Add a javascript check function
1
integer $withpleasewait Add also please wait tags
1
string $morehtml Add more HTML content
1
string $message Message
1
int $level Level of log
1
string $dolibarr_main_document_root Current main document root
1
string $force_install_databaserootlogin Login
1
string $force_install_databaserootpass Password
1
string $table Table of Element
1
string $sourcetype Source element type
1
string $targettype Target element type
1
string $barcode barcode
1
string $profid1 profid1
1
string $profid2 profid2
1
array $filterthirdparty Filter fields (key=>value to filer on. For example 'client'=>2, 'supplier'=>1, 'category'=>idcateg, 'name'=>'searchstring', ...)
1
array $invoice Invoice
1
string $id_order id of order to copy invoice from
1
string $ref_order ref of order to copy invoice from
1
string $ref_ext_order ref_ext of order to copy invoice from
string $key If '', we use $conf->file->instance_unique_id (so $dolibarr_main_instance_unique_id in conf.php)
1
string $ciphering Default ciphering algorithm
1
string $forceseed To force the seed
1
string $key If '', we use $conf->file->instance_unique_id
1
string $chain String to hash
1
string $type Type of hash ('0':auto will use MAIN_SECURITY_HASH_ALGO else md5, '1':sha1, '2':sha1+md5, '3':md5, '4': for OpenLdap, '5':sha256, '6':password_hash).
1
int $nosalt Do not include any salt
1
string $chain String to hash (not hashed string)
1
string $hash hash to compare
1
string $type Type of hash ('0':auto, '1':sha1, '2':sha1+md5, '3':md5, '4': for OpenLdap, '5':sha256). Use '3' here, if hash is not needed for security purpose, for security need, prefer '0'.
1
string $password Password to hash
1
string $type Type of hash
1
User $user User to check
1
string $features Features to check (it must be module name or $object->element. Can be a 'or' check with 'levela|levelb'.
1
int|string|Object $object Object or Object ID or list of Object ID if we want to check a particular record (optional) is linked to a owned thirdparty (optional).
1
string $tableandshare 'TableName&SharedElement' with Tablename is table where object is stored. SharedElement is an optional key to define where to check entity for multicompany module. Param not used if objectid is null (optional).
1
string $feature2 Feature to check, second level of permission (optional). Can be a 'or' check with 'sublevela|sublevelb'.
1
string $dbt_keyfield Field name for socid foreign key if not fk_soc. Not used if objectid is null (optional). Can use '' if NA.
1
string $dbt_select Field rowid name, for select into tableandshare if not "rowid". Not used if objectid is null (optional)
1
int $isdraft 1=The object with id=$objectid is a draft
1
int $mode Mode (0=default, 1=return without dying)
1
User $user User to check
1
array $featuresarray Features/modules to check. Example: ('user','service','member','project','task',...)
1
int|string|Object $object Full object or object ID or list of object id. For example if we want to check a particular record (optional) is linked to a owned thirdparty (optional).
1
string $tableandshare 'TableName&SharedElement' with Tablename is table where object is stored. SharedElement is an optional key to define where to check entity for multicompany modume. Param not used if objectid is null (optional).
1
array|string $feature2 Feature to check, second level of permission (optional). Can be or check with 'level1|level2'.
1
string $dbt_keyfield Field name for socid foreign key if not fk_soc. Not used if objectid is null (optional). Can use '' if NA.
1
string $dbt_select Field name for select if not rowid. Not used if objectid is null (optional).
1
string $parenttableforentity Parent table for entity. Example 'fk_website@website'
1
string $message Force error message
1
int $http_response_code HTTP response code
1
int $stringalreadysanitized 1 if string is already sanitized with HTML entities
1
string $message Force error message
1
int $printheader Show header before
1
int $printfooter Show footer after
1
int $showonlymessage Show only message parameter. Otherwise add more information.
1
array|null $params More parameters provided to hook
1
Facture $object Invoice object
1
string $mode Can be 'customers' or 'suppliers'
1
float $qty Quantity
1
float $pu Unit price (HT or TTC depending on price_base_type. TODO Add also mode 'INCT' when pu is price HT+VAT+LT1+LT2)
1
float $remise_percent_ligne Discount for line
1
float $txtva 0=do not apply VAT tax, VAT rate=apply (this is VAT rate only without text code, we don't need text code because we alreaydy have all tax info into $localtaxes_array)
1
float $uselocaltax1_rate 0=do not use localtax1, >0=apply and get value from localtaxes_array (or database if empty), -1=autodetect according to seller if we must apply, get value from localtaxes_array (or database if empty). Try to always use -1.
1
float $uselocaltax2_rate 0=do not use localtax2, >0=apply and get value from localtaxes_array (or database if empty), -1=autodetect according to seller if we must apply, get value from localtaxes_array (or database if empty). Try to always use -1.
1
float $remise_percent_global 0
1
string $price_base_type 'HT'=Unit price parameter $pu is HT, 'TTC'=Unit price parameter $pu is TTC (HT+VAT but not Localtax. TODO Add also mode 'INCT' when pu is price HT+VAT+LT1+LT2)
1
int $info_bits Miscellaneous information on line
1
int $type 0/1=Product/service
1
Societe|string $seller Thirdparty seller (we need $seller->country_id property). Provided only if seller is the supplier, otherwise $seller will be $mysoc.
1
array $localtaxes_array Array with localtaxes info array('0'=>type1,'1'=>rate1,'2'=>type2,'3'=>rate2) (loaded by getLocalTaxesFromRate(vatrate, 0, ...) function).
1
integer $progress Situation invoices progress (value from 0 to 100, 100 by default)
1
double $multicurrency_tx Currency rate (1 by default)
1
double $pu_devise Amount in currency
1
string $multicurrency_code Value of the foreign currency if multicurrency is used ('EUR', 'USD', ...). It will be used for rounding according to currency.
1
array $versionarray Tableau de version (vermajeur,vermineur,autre)
1
array $versionarray1 Array of version (vermajor,verminor,patch)
1
array $versionarray2 Array of version (vermajor,verminor,patch)
1
string $sqlfile Full path to sql file
1
int $silent 1=Do not output anything, 0=Output line for update page
1
int $entity Entity targeted for multicompany module
1
int $usesavepoint 1=Run a savepoint before each request and a rollback to savepoint if error (this allow to have some request with errors inside global transactions).
1
string $handler Handler targeted for menu (replace __HANDLER__ with this value between quotes)
1
string $okerror Family of errors we accept ('default', 'none')
1
int $linelengthlimit Limit for length of each line (Use 0 if unknown, may be faster if defined)
1
int $nocommentremoval Do no try to remove comments (in such a case, we consider that each line is a request, so use also $linelengthlimit=0)
1
int $offsetforchartofaccount Offset to use to load chart of account table to update sql on the fly to add offset to rowid and account_parent value
1
int $colspan 2=Add a colspan=2 on td
1
int $onlysqltoimportwebsite Only sql requests used to import a website template are allowed
1
string $database Database (replace __DATABASE__ with this value)
1
string|int $name Name of constant or rowid of line
1
int $entity Multi company id, -1 for all entities
1
int $entity Multi company id
1
string $value Value of constant
1
string $type Type of constant. Deprecated, only strings are allowed for $value. Caller must json encode/decode to store other type of data.
1
int $visible Is constant visible in Setup->Other page (0 by default)
1
string $note Note on parameter
1
int $entity Multi company id (0 means all entities)
1
int $nbofactivatedmodules Number if activated modules
1
int $nboftotalmodules Nb of total modules
1
int $nbmodulesnotautoenabled Nb of modules not auto enabled that are activated
1
object $object Descriptor class
1
int $mysessionid To avoid to try to delete my own session
1
string $value Name of module to activate
1
int $withdeps Activate/Disable also all dependencies
1
int $noconfverification Remove verification of $conf variable for module
1
string $value Nom du module a desactiver
1
int $requiredby 1=Desactive aussi modules dependants
1
array $taborder Taborder
1
array $tabname Tabname
1
array $tablib Tablib
1
array $tabsql Tabsql
1
array $tabsqlsort Tabsqlsort
1
array $tabfield Tabfield
1
array $tabfieldvalue Tabfieldvalue
1
array $tabfieldinsert Tabfieldinsert
1
array $tabrowid Tabrowid
1
array $tabcond Tabcond
1
array $tabhelp Tabhelp
1
array $tabcomplete Tab complete (will replace all other in future). Key is table name.
1
string $country_code CountryCode
1
array $elementList elementList
1
array $tableau Array of constants array('key'=>array('type'=>type, 'label'=>label)
1
int<2,3> $strictw3c 0=Include form into table (deprecated), 1=Form is outside table to respect W3C (deprecated), 2=No form nor button at all, 3=No form nor button at all and each field has a unique name (form is output by caller, recommended) (typed as int<2,3> to highlight the deprecated values)
1
string $helptext Tooltip help to use for the column name of values
1
string $text Text to use for the column name of values
1
DolibarrModules[] $modules Array of all modules
1
string $label Model label
1
string $description Model description
1
string $butlabel Label
1
string $testlabel Label
1
string $dn Dn
1
string $objectclass Class
1
array $result Array to show. This array is already encoded into charset_output
1
int $level Level
1
int $count Count
1
string $var Var
1
int $hide Hide
1
int $subcount Subcount
1
Commande $object Object related to tabs
1
string $format "vcal" or "ical"
1
string $title Title of export
1
string $desc Description of export
1
array $events_array Array of events ("uid","startdate","duration","enddate","title","summary","category","email","url","desc","author")
1
string $outputfile Output file
1
string $format "rss"
1
string $title Title of export
1
string $desc Description of export
1
array $events_array Array of events ("uid","startdate","summary","url","desc","author","category","image") or Array of WebsitePage
array $data Array of data parameters for structured data
1
array $params Array of parameters
1
Object $object Object
1
int $no Numero of image (if there is several images. 1st one by default)
1
string $type Type of container to search into (Example: '', 'page', 'blogpost', 'page,blogpost', ...)
1
string $algo Algorithm used for search (Example: 'meta' is searching into meta information like title and description, 'content', 'sitefiles', or any combination 'meta,content,sitefiles')
1
string $searchstring Search string
1
int $max Max number of answers
1
string $sortfield Sort Fields
1
string $sortorder Sort order ('DESC' or 'ASC')
1
string $langcode Language code ('' or 'en', 'fr', 'es', ...)
1
array $otherfilters Other filters
1
int $status 0 or 1, or -1 for both
1
Website $object Object website
1
WebsitePage $objectpage Object website page
1
string $urltograb URL to grab (example: http://www.nltechno.com/ or http://www.nltechno.com/dir1/ or http://www.nltechno.com/dir1/mapage1)
1
string $tmp Content to parse
1
string $action Var $action
1
int $modifylinks 0=Do not modify content, 1=Replace links with a link to viewimage
1
int $grabimages 0=Do not grab images, 1=Grab images
1
string $grabimagesinto 'root' or 'subpage'
1
string $source String to decode
1
string $subdir Sub directory (Example: '/mailings' will look for /core/modules/mailings/)
1
Translate|null $outputlangs Output lang to use to autodetect output format if setup not done
1
object $object Object to show
1
int $usetable Output into a table
1
string $email Email address (Ex: "toto@example.com", "John Do ")
1
string $trackingid Tracking id (Ex: thi123 for thirdparty with id 123)
1
string $mail Email address (Ex: "toto@example.com", "John Do ")
1
int $http 1: verify http is provided, 0: not verify http
1
int $pass 1: verify user and pass is provided, 0: not verify user and pass
1
int $port 1: verify port is provided, 0: not verify port
1
int $path 1: verify a path is provided "/" or "/..." or "/.../", 0: not verify path
1
int $query 1: verify query is provided, 0: not verify query
1
int $anchor 1: verify anchor is provided, 0: not verify anchor
1
Societe $company VAT number
1
integer $http 1 = keep both http:// and https://, 0: remove http:// but not https://
1
string $mail Email
1
string $replace Replacement character (default: *)
1
int $nbreplace Number of replacement character (default: 8)
1
int $nbdisplaymail Number of character unchanged (default: 4)
1
int $nbdisplaydomain Number of character unchanged of domain (default: 3)
1
bool $displaytld Display tld (default: true)
1
array $data Array of data
1
string $troptions Options for tr
1
string $tdoptions Options for td
1
array $data Array of data
1
int $tableMarkup Table markup
1
string $tableoptions Options for table
1
string $troptions Options for tr
1
string $tdoptions Options for td
1
string $mask Mask to use. Must contains {0...0}. Can contains {t..}, {u...}, {user_extra_xxx}, .;.
1
string $table Table containing field with counter
1
string $field Field containing already used values of counter
1
string $where To add a filter on selection (for example to filter on invoice types)
1
Societe|string $objsoc The company that own the object we need a counter for
1
string $date Date to use for the {y},{m},{d} tags.
1
string $mode 'next' for next value or 'last' for last value
1
bool $bentityon Activate the entity filter. Default is true (for modules not compatible with multicompany)
1
User $objuser Object user we need data from.
1
int $forceentity Entity id to force
1
string $string String to test
1
string $start String Value for start
1
string $end String Value for end
1
string $mask Mask to use
1
string $bin Value to convert
1
boolean $pad Add 0
1
boolean $upper Convert to tupper
1
string $hexa Hexadecimal string to convert (example: 'FF')
1
string $time Date au format 'timestamp'
1
float $weight Masse a convertir
1
int $from_unit Unite originale en puissance de 10
1
int $to_unit Nouvelle unite en puissance de 10
1
DoliDB $db Handler database
1
Conf $conf Object conf
1
User $user Object user
1
array $tab Array (key=>value) with all parameters to save/update
1
int $reduction Reduction percentage
1
string $option Option string
1
DoliDB $db Database handler
1
string $type Type of models (company, invoice, ...)
1
int $maxfilenamelength Max length of value to show
1
string $ip IP Address
1
string $lastname Lastname
1
string $firstname Firstname
1
int $objectid Id of record
1
string $objecttype Type of object ('invoice', 'order', 'expedition_bon', 'myobject@mymodule', ...)
1
int $withpicto Picto to show
1
string $option More options
1
string $tabletocleantree Table to clean
1
string $fieldfkparent Field name that contains id of parent
1
array $arraycolor Array
1
string $colorifnotfound Color code to return if entry not defined or not a RGB format
1
array $colorifnotfound Color code array to return if entry not defined
1
string $color the color you need to valid
1
boolean $allow_white in case of white isn't valid
1
string $hex Color in hex ('#AA1122' or 'AA1122' or '#a12' or 'a12')
1
integer $ratio Default=-50. Note: 0=Component color is unchanged, -100=Component color become 88, +100=Component color become 00 or FF
1
integer $brightness Default=0. Adjust brightness. -100=Decrease brightness by 100%, +100=Increase of 100%.
1
string $hex Color in hex ('#AA1122' or 'AA1122' or '#a12' or 'a12')
1
integer $steps Step/offset added to each color component. It should be between -255 and 255. Negative = darker, positive = lighter
1
string $hex color in hex
1
float|false $alpha 0 to 1 to add alpha channel
1
string $hex Color in hex
1
float|false $alpha 0 to 1 to add alpha channel
1
array $input Array of products
1
string $moduleobject Module object name
1
int $min Between 0 and 255
1
int $max Between 0 and 255
1
int $min Between 0 and 255
1
int $max Between 0 and 255
1
string $notetoshow Text to convert
1
float $amount Amount to format
1
string $code PHP code to check.
1
string $string String to sanitize
1
string $text String to sanitize
1
int $allowedemoji Mode to allow emoji
1
string $invoice_number Invoice number to generate payment reference
1
int $statut Invoice status, if draft (0), no reference generating
1
string $use_rf false/(0) generate FI Bank payment reference
1
string $recipient_account Account number for pank payment
1
string $amount Amount of invoice payment
1
string $bank_reference FI Payment reference number or RF creditor reference
1
string $due_date Payments due to date
1
array{}|array{name:string,key:string,type:string,label:string,picot?:string,enabled:int<0,1>,notnull:int<0,1>,position:int,visible:int,noteditable?:int<0,1>,alwayseditable?:int<0,1>,default?:string,index?:int,foreignkey?:string,searchall?:int,isameasure?:int<0,1>,css?:string,cssview?:string,csslist?:string,help?:string,showoncombobox?:int<0,1>,disabled?:int<0,1>,autofocusoncreate?:int<0,1>,arrayofkeyval?:array,validate?:int<0,1>,comment?:string} $addfieldentry Array of 1 field entry to add
1
string $delfieldentry Id of field to remove
1
Object $object If object was already loaded/known, it is pass to avoid another include and new.
1
string $moduletype 'external' or 'internal'
1
string $file Filename or path
1
int $number 0 = For Menus, 1 = For permissions, 2 = For Dictionaries
1
string $file file with path
1
int|string $a value 1
1
int|string $b value 2
1
string $file filename or path
1
array $permissions permissions existing in file
1
int|null $key key for permission needed
1
array{0:string,1:string}|null $right $right to update or add
1
string|null $objectname name of object
1
string|null $module name of module
1
int<-2,2> $action 0 for delete, 1 for add, 2 for update, -1 when delete object completely, -2 for generate rights after add
1
string $string The formatted properties string.
1
string $objectname name of the objectClass
1
string $destfile file where write table of properties
1
string $file file or path
1
string $objectname name of object wants to deleted
1
string $file file for searching
1
string $start start line if exist
1
string $end end line if exist
1
string $excludestart Ignore if start line is $excludestart
1
int $includese Include start and end line
1
string $destfile file where write table of permissions
1
string $srcfile Source file to use as example
1
string $file Path of modified file
1
string[] $objects Array of objects in the module
1
string $modulename Name of module
1
string $file File api module
1
string[] $objects Array of objects in the module
1
string $objectname Name of object want to remove
1
string $file path of filename
1
array $menus all menus for module
1
mixed|null $menuWantTo menu get for do actions
1
int|null $key key for the concerned menu
1
int<-1,2> $action for specify what action (0 = delete perm, 1 = add perm, 2 = update perm, -1 = when we delete object)
1
string $module The name of the module.
1
string $file The path to the module descriptor file.
1
array> $dicts The dictionary data to be updated.
1
bool|int|string $val
1
string $modulename The lowercase name of the module for which the dictionary table is being created.
1
string $file The file path to the Dolibarr module builder file where the dictionaries are defined.
1
string $namedic The name of the dictionary, which will also be used as the base for the table name.
1
array> $dictionnaires An optional array containing pre-existing dictionary data, including 'tabname', 'tablib', 'tabsql', etc.
1
string $file_api filename or path of api
1
string $file_doc filename or path of documentation
1
string $path path of directory
1
int $type type of file 1= file,2=directory
1
Contrat $object Object related to tabs
1
mixed $val Value to show
1
bool $assoc False return an object, true return an array
1
bool $assoc False return an object, true return an array. Try to always use it with true !
1
string $val Value to decode
1
string $utf16 UTF-16 character
1
string $utf8 UTF-8 character
1
string $refgmtdate Reference period for timezone (timezone differs on winter and summer. May be 'now', 'winter' or 'summer')
1
int $time Date timestamp (or string with format YYYY-MM-DD)
1
int $duration_value Value of delay to add
1
string $duration_unit Unit of added delay (d, m, y, w, h, i)
1
int $ruleforendofmonth Change the behavior of PHP over data-interval, 0 or 1
1
int $iHours Hours
1
int $iMinutes Minutes
1
int $iSeconds Seconds
1
int $iSecond Number of seconds
1
string $format Output format
1
int $lengthOfDay Length of day (default 86400 seconds for 1 day, 28800 for 8 hour)
1
int $lengthOfWeek Length of week (default 7)
1
int $duration_value Duration value
1
string $duration_unit Duration unit
1
string $datefield Name of SQL field where apply sql date filter
1
int|string $day_date Day date (Can be 0 or '' for filter on a month)
1
int|string $month_date Month date (Can be 0 or '' for filter on a year)
1
int|string $year_date Year date
1
int $excludefirstand Exclude first and
1
mixed $gm False or 0 or 'tzserver' = Input date fields are date info in the server TZ. True or 1 or 'gmt' = Input are date info in GMT TZ.
1
string $string Date in a string
1
int|string $gm 'gmt' or 1 =Input date is GM date,
1
int $year Year
1
int $day Day
1
int $month Month
1
int $year Year
1
int $day Day
1
int $month Month
1
bool|int|string $gm False or 0 or 'tzserver' = Return date to compare with server TZ,
1
int $year Year
1
int $timestampStart Timestamp start (UTC with hour, min, sec = 0)
1
int $timestampEnd Timestamp end (UTC with hour, min, sec = 0)
1
string $country_code Country code
1
int $lastday Last day is included, 0: no, 1:yes
1
int $includesaturday Include saturday as non working day (-1=use setup, 0=no, 1=yes)
1
int $includesunday Include sunday as non working day (-1=use setup, 0=no, 1=yes)
1
int $includefriday Include friday as non working day (-1=use setup, 0=no, 1=yes)
1
int $includemonday Include monday as non working day (-1=use setup, 0=no, 1=yes)
1
int $timestampStart Timestamp start UTC
1
int $timestampEnd Timestamp end UTC
1
int $lastday Last day is included, 0: no, 1:yes
1
int $timestampStart Timestamp for start date (date must be UTC to avoid calculation errors)
1
int $timestampEnd Timestamp for end date (date must be UTC to avoid calculation errors)
1
int $inhour 0: return number of days, 1: return number of hours
1
int $lastday We include last day, 0: no, 1:yes
1
int $halfday Tag to define half day when holiday start and end
1
string $country_code Country code (company country code if not defined)
1
int $short 0=Return long label, 1=Return short label
1
string[] $TWeek array of week numbers (week 1 must be '01')
1
string[] $TWeek array of week numbers
1
int $day Day number
1
string $selected Preselected value
1
string $htmlname HTML name of input field
1
string $url Ajax Url to call for request: /path/page.php. Must return a json array ('key'=>id, 'value'=>String shown into input field once selected, 'label'=>String shown into combo list)
1
string $urloption More parameters on URL request
1
int $autoselect Automatic selection if just one value (trigger("change") on field is done if search return only 1 result)
1
array $ajaxoptions Multiple options array
1
string $moreparams More params provided to ajax call
1
string $htmlname HTML name of input field
1
array $fields Array of key of fields to autocomplete
1
string $url URL for ajax request : /chemin/fichier.php
1
string $option More parameters on URL request
1
int $autoselect Automatic selection if just one value
1
string $title Title of dialog box
1
string $message Message of dialog box
1
int $w Width of dialog box
1
int $h height of dialog box
1
array $events More events option. Example: array(array('method'=>'getContacts', 'url'=>dol_buildpath('/core/ajax/contacts.php',1), 'htmlname'=>'contactid', 'params'=>array('add-customer-contact'=>'disabled')))
1
int $minLengthToAutocomplete Minimum length of input string to start autocomplete
1
int $forcefocus Force focus on field
1
string $widthTypeOfAutocomplete 'resolve' or 'off'
1
string $idforemptyvalue '-1'
1
string $morecss More css
1
array $events Add some Ajax events option on change of $htmlname component to call ajax to autofill a HTML element (select#htmlname and #inputautocompletehtmlname)
1
string $code Name of constant
1
array $input Array of complementary actions to do if success ("disabled"|"enabled'|'set'|'del') => CSS element to switch, 'alert' => message to show, ... Example: array('disabled'=>array(0=>'cssid'))
1
int|null $entity Entity. Current entity is used if null.
1
int $revertonoff 1=Revert on/off
1
int $strict Use only "disabled" with delConstant and "enabled" with setConstant
1
int $forcereload Force to reload page if we click/change value (this is supported only when there is no 'alert' option in input)
1
int $marginleftonlyshort 1 = Add a short left margin on picto, 2 = Add a larger left margin on picto, 0 = No left margin.
1
int $forcenoajax 1 = Force to use a ahref link instead of ajax code.
1
int $setzeroinsteadofdel 1 = Set constantto '0' instead of deleting it
1
string $suffix Suffix to use on the name of the switch_on picto. Example: '', '_red'
1
string $mode Add parameter &mode= to the href link (Used for href link)
1
string $morecss More CSS
1
Object $object Object to set
1
string $code Name of property in object : 'status' or 'status_buy' for product by example
1
string $field Name of database field : 'tosell' or 'tobuy' for product by example
1
string $text_on Text if on ('Text' or 'Text:Picto on:Css picto on')
1
string $text_off Text if off ('Text' or 'Text:Picto off:Css picto off')
1
array $input Array of type->list of CSS element to switch. Example: array('disabled'=>array(0=>'cssid'))
1
string $htmlname Name of HTML component. Keep '' or use a different value if you need to use this component several time on the same page for the same field.
1
int $forcenojs Force the component to work as link post (without javascript) instead of ajax call
1
Societe $object Object company shown
1
Object $object Object for tabs
1
int|string $searchkey Id or code of country to search
1
string $withcode '0'=Return label,
1
DoliDB $dbtouse Database handler (using in global way may fail because of conflicts with some autoload features)
1
Translate $outputlangs Langs object for output translation
1
int $entconv 0=Return value without entities and not converted to output charset, 1=Ready for html output
1
string $searchlabel Label of country to search (warning: searching on label is not reliable)
1
int $id id of state (province/departement)
1
'0'|'1'|'2'|'all' $withcode '0'=Return label,
1
?DoliDB $dbtouse Database handler (using in global way may fail because of conflicts with some autoload features)
1
int<0,1> $withregion '0'=Ignores region,
1
Translate $outputlangs Langs object for output translation, not fully implemented yet
1
int<0,1> $entconv 0=Return value without entities and not converted to output charset, 1=Ready for html output
1
string $code_iso Code iso of currency
1
int $withcode '1'=show code + label
1
Translate $outputlangs Output language
1
string $code Code of juridical status
1
Object $object Object
1
Societe $object Third party object
1
int $showuserlogin 1=Show also user login if it exists
1
Conf $conf Object conf
1
Translate $langs Object langs
1
DoliDB $db Object db
1
Adherent|Societe $filterobj Object thirdparty or member
1
Contact $objcon Object contact
1
int $noprint Return string but does not output it
1
string|string[] $actioncode Filter on actioncode
1
Conf $conf Object conf
1
Translate $langs Object langs
1
DoliDB $db Object db
1
mixed $filterobj Filter on object Adherent|Societe|Project|Product|CommandeFournisseur|Dolresource|Ticket... to list events linked to an object
1
Contact $objcon Filter on object contact to filter events on a contact
1
int $noprint Return string but does not output it
1
string|string[] $actioncode Filter on actioncode
1
string $donetodo Filter on event 'done' or 'todo' or ''=nofilter (all).
1
array $filters Filter on other fields
1
string $sortfield Sort field
1
string $sortorder Sort order
1
string $module You can add module name here if elementtype in table llx_actioncomm is objectkey@module
1
Societe $object Third party object
1
string $sqlANDOR "AND", "OR" or "" sql condition
1
string $donetodo donetodo
1
string $now now
1
array $filters array
1
Object $objcon objcon
1
Object $filterobj filterobj
1
int $addformmessage Add the payment form message
1
string $suffix Suffix to use on constants
1
Object $object Object related to payment
1
string $type Type of URL ('proposal', ...)
1
string $ref Ref of object
1
CommonObject $obj object (needed to make multicompany good links)
1
int $mode 0=True url, 1=Url formatted with colors
1
string $type Type of URL ('proposal', ...)
1
string $ref Ref of object
1
int $localorexternal 0=Url for browser, 1=Url for external access
1
CommonObject $obj object (needed to make multicompany good links)
1
string $param Params to add on url links
1
int $maxstep Limit steps to maxstep or no limit if 0
1
string $filemaster Full path of filename master.inc.php for website to generate
1
string $filealias Full path of filename to generate
1
string $filetpl Full path of filename to generate
1
int $backupold 1=Make a backup of old page
1
string $pathofwebsite Path of website root
1
string $fileindex Full path of file index.php
1
string $filetpl File tpl the index.php page redirect to (used only if $fileindex is provided)
1
string $filewrapper Full path of file wrapper.php
1
Website $object Object website
1
string $filehtmlheader Full path of filename to generate
1
string $htmlheadercontent Content of file
1
string $filecss Full path of filename to generate
1
string $csscontent Content of file
1
string $filejs Full path of filename to generate
1
string $jscontent Content of file
1
string $filerobot Full path of filename to generate
1
string $robotcontent Content of file
1
string $filehtaccess Full path of filename to generate
1
string $htaccess Content of file
1
Website $website Object website to load the template into
1
string $phpfullcodestringold PHP old string (before the change). For example ""
1
string $phpfullcodestring PHP new string. For example ""
1
string $pathfile String to find basename.
1
string $utf8_path Starting path from which to search. This is a full path.
1
string $types Can be "directories", "files", or "all"
1
int $recursive Determines whether subdirectories are searched
1
string $filter Regex filter to restrict list. This regex value must be escaped for '/' by doing preg_quote($var,'/'), since this char is used for preg_match function,
1
string|string[] $excludefilter Array of Regex for exclude filter (example: array('(\.meta|_preview.*\.png)$','^\.')). Exclude is checked both into fullpath and into basename (So '^xxx' may exclude 'xxx/dirscanned/...' and dirscanned/xxx').
int $mode 0=Return array minimum keys loaded (faster), 1=Force all keys like date and size to be loaded (slower), 2=Force load of date only, 3=Force load of size only, 4=Force load of perm
1
int $nohook Disable all hooks
1
string $relativename For recursive purpose only. Must be "" at first call.
1
int $donotfollowsymlinks Do not follow symbolic links
1
int $nbsecondsold Only files older than $nbsecondsold
1
string $path Starting path from which to search. Example: 'produit/MYPROD'
1
string $filter Regex filter to restrict list. This regex value must be escaped for '/', since this char is used for preg_match function
1
string[]|null $excludefilter Array of Regex for exclude filter (example: array('(\.meta|_preview.*\.png)$','^\.'))
int $mode 0=Return array minimum keys loaded (faster), 1=Force all keys like description
1
array $filearray Array of array('name'=>'xxx','fullname'=>'/abc/xxx','date'=>'yyy','size'=>99,'type'=>'dir|file',...) Array of files obtained using dol_dir_list
1
string $relativedir Relative dir from DOL_DATA_ROOT
1
object $a File 1
1
object $b File 2
1
string $folder Name of folder
1
string $dir Path of Directory
1
string $uri URI to test
1
string $folder Name of folder
1
string $srcfile Source file (can't be a directory)
1
array $arrayreplacement Array with strings to replace. Example: array('valuebefore'=>'valueafter', ...)
1
string $destfile Destination file (can't be a directory). If empty, will be same than source file.
1
string $newmask Mask for new file (0 by default means $conf->global->MAIN_UMASK). Example: '0666'
1
int $indexdatabase 1=index new file into database.
1
int $arrayreplacementisregex 1=Array of replacement is already an array with key that is a regex. Warning: the key must be escaped with preg_quote for '/'
1
string $srcfile Source file (can't be a directory)
1
string $destfile Destination file (can't be a directory)
1
string $newmask Mask for new file (0 by default means $conf->global->MAIN_UMASK). Example: '0666'
1
int $overwriteifexists Overwrite file if exists (1 by default)
1
string $srcfile Source file (a directory)
1
string $destfile Destination file (a directory)
1
string $newmask Mask for new file ('0' by default means getDolGlobalString('MAIN_UMASK')). Example: '0666'
1
int $overwriteifexists Overwrite file if exists (1 by default)
1
array $arrayreplacement Array to use to replace filenames with another one during the copy (works only on file names, not on directory names).
1
int $excludesubdir 0=Do not exclude subdirectories, 1=Exclude subdirectories, 2=Exclude subdirectories if name is not a 2 chars (used for country codes subdirectories).
1
string[] $excludefileext Exclude some file extensions
1
string $srcfile Source file (can't be a directory. use native php @rename() to move a directory)
1
string $destfile Destination file (can't be a directory. use native php @rename() to move a directory)
1
string $newmask Mask in octal string for new file ('0' by default means $conf->global->MAIN_UMASK)
1
int $overwriteifexists Overwrite file if exists (1 by default)
1
array $moreinfo Array with more information to set in index table
1
string $srcdir Source directory
1
string $destdir Destination directory
1
int $overwriteifexists Overwrite directory if exists (1 by default)
1
int $indexdatabase Index new name of files into database.
1
int $renamedircontent Also rename contents inside srcdir after the move to match new destination name.
1
string $filename Filename
1
string $src_file Source full path filename ($_FILES['field']['tmp_name'])
1
string $dest_file Target full path filename ($_FILES['field']['name'])
1
int $allowoverwrite 1=Overwrite target file if it already exists
1
int $disablevirusscan 1=Disable virus scan
1
integer $uploaderrorcode Value of PHP upload error code ($_FILES['field']['error'])
1
int $nohook Disable all hooks
1
string $varfiles _FILES var name
1
string $upload_dir For information. Already included into $dest_file.
1
string $file File to delete or mask of files to delete
1
int $disableglob Disable usage of glob like * so function is an exact delete function that will return error if no file found
1
int $nohook Disable all hooks
1
object|null $object Current object in use
1
boolean $allowdotdot Allow to delete file path with .. inside. Never use this, it is reserved for migration purpose.
1
int $nolog Disable log file
1
string $dir Directory to delete
1
string $dir Dir to delete
1
int $count Counter to count nb of elements found to delete
1
int $onlysub Delete only files and subdir, not main directory
1
int $countdeleted Counter to count nb of elements found really deleted
1
int $nolog Disable log files (too verbose when making recursive directories)
1
object $object Object to clean
1
string $pathtoscan Path to scan
1
string $upload_dir Directory where to store uploaded file (note: used to forge $destpath = $upload_dir + filename)
1
int $allowoverwrite 1=Allow overwrite existing file
1
int $updatesessionordb 1=Do no edit _SESSION variable but update database index. 0=Update _SESSION and not database index. -1=Do not update SESSION neither db.
1
string $varfiles _FILES var name
1
string $savingdocmask Mask to use to define output filename. For example 'XXXXX-__YYYYMMDD__-__file__'
1
string $link Link to add (to add a link instead of a file)
1
int $generatethumbs 1=Generate also thumbs for uploaded image files
1
Object $object Object used to set 'src_object_*' fields
1
int $filenb File nb to delete
1
int $donotupdatesession -1 or 1 = Do not update _SESSION variable
1
int $donotdeletefile 1=Do not delete physically file
1
string $file File name (May end with '.noexe')
1
string $fullpathorig Full path of origin for file (can be '')
1
int $setsharekey Set also the share key
1
Object $object Object used to set 'src_object_*' fields
1
string $file File name
1
string $fileinput Input file name
1
string $ext Format of target file (It is also extension added to file if fileoutput is not provided).
1
string $fileoutput Output filename
1
string $page Page number if we convert a PDF into png
1
string $inputfile Source file name
1
string $outputfile Target file name
1
string $mode 'gz' or 'bz' or 'zip'
1
string $errorstring Error string
1
string $inputfile File to uncompress
1
string $outputdir Target dir name
1
string $inputdir Source dir name
1
string $outputfile Target file name (output directory must exists and be writable)
1
string $mode 'zip'
1
string $excludefiles A regex pattern to exclude files. For example: '/\.log$|\/temp\//'
1
string $rootdirinzip Add a root dir level in zip file
1
string $newmask Mask for new file (0 by default means $conf->global->MAIN_UMASK). Example: '0666'
1
string $dir Directory to scan
1
string $regexfilter Regex filter to restrict list. This regex value must be escaped for '/', since this char is used for preg_match function
1
string[] $excludefilter Array of Regex for exclude filter (example: array('(\.meta|_preview.*\.png)$','^\.')). This regex value must be escaped for '/', since this char is used for preg_match function
1
int<0,1> $nohook Disable all hooks
1
int<0,3> $mode 0=Return array minimum keys loaded (faster), 1=Force all keys like date and size to be loaded (slower), 2=Force load of date only, 3=Force load of size only
1
string $modulepart Module of document ('module', 'module_user_temp', 'module_user' or 'module_temp'). Example: 'medias', 'invoice', 'logs', 'tax-vat', ...
1
string $original_file Relative path with filename, relative to modulepart.
string $refname Ref of object to check permission for external users (autodetect if not provided by taking the dirname of $original_file) or for hierarchy
1
string $mode Check permission for 'read' or 'write'
1
string $directory Directory of cache
1
string $filename Name of filecache
1
mixed $object Object to store in cachefile
1
int $cachetime Cachetime delay
1
string $pathfile Full path of a file
1
array $file_list Array for response
1
SimpleXMLElement $dir SimpleXMLElement of files to test
1
string $path Path of files relative to $pathref. We start with ''. Used by recursive calls.
1
string $pathref Path ref (DOL_DOCUMENT_ROOT)
1
array $checksumconcat Array of checksum
1
string $htmlname The id of the component where we need to drag and drop
1
string $filetpl Full path of the source filename for the backups. Example /mydir/mydocuments/mymodule/filename.ext
1
int $max_versions The maximum number of backup versions to keep.
1
string $archivedir Target directory of backups (without ending /). Keep empty to save into the same directory than source file.
1
string $suffix 'v' (versioned files) or 'd' (archived files after deletion)
1
string $moveorcopy 'move' or 'copy'
1
string $mode 'output' or 'temp' or 'version'
1
string $key key to return value, return $default if not set
1
string $key key to return value, return 0 if not set
1
int $default value to return
1
string $key key to return value, return '' if not set
1
User $tmpuser To get another user than current user
1
string $key key to return value, return 0 if not set
1
int $default value to return
1
User $tmpuser To get another user than current user
1
string $module Module name to check
1
int|string|null $timestamp timestamp to check
1
string $type Type of database (mysql, pgsql...)
1
string $user Authorized username
1
string $element Current element
1
int<0,1> $shared 0=Return id of current entity only,
1
?CommonObject $currentobject Current object if needed
1
CommonObject $currentobject Current object
1
string $keyname Name of key to test
1
int|string $n Numeric value
1
string $user_agent Content of $_SERVER["HTTP_USER_AGENT"] variable
1
string $paramname Name or parameter to test
1
string $paramname Name or parameter to test
1
int<0,3> $method Type of method (0 = get then post, 1 = only get, 2 = only post, 3 = post then get)
1
string $paramname Name of parameter to found
1
string $check Type of check
1
int $method Type of method (0 = get then post, 1 = only get, 2 = only post, 3 = post then get)
1
?int $filter Filter to apply when $check is set to 'custom'. (See http://php.net/manual/en/filter.filters.php for détails)
1
mixed $options Options to pass to filter_var when $check is set to 'custom'
1
int $noreplace Force disable of replacement of __xxx__ strings.
1
string $paramname Name of the $_GET or $_POST parameter
1
int<0,3> $method Type of method (0 = $_GET then $_POST, 1 = only $_GET, 2 = only $_POST, 3 = $_POST then $_GET)
1
string $paramname Name of the $_GET or $_POST parameter
1
string|int $rounding Type of rounding ('', 'MU', 'MT, 'MS', 'CU', 'CT', integer) {@see price2num()}
1
string|array $out Value to check/clear.
1
string $relpath Relative path to file (Ie: mydir/myfile, ../myfile, ...)
1
string $classname Class name (deprecated)
1
string $path Relative path to file (if mode=0) or relative url (if mode=1). Ie: mydir/myfile, ../myfile
1
int $type 0=Used for a Filesystem path, 1=Used for an URL path (output relative), 2=Used for an URL path (output full path using same host that current url), 3=Used for an URL path (output full path using host defined into $dolibarr_main_url_root of conf file)
1
int $returnemptyifnotfound 0:If $type==0 and if file was not found into alternate dir, return default path into main dir (no test on it)
1
object $obj Object to get properties from
1
string[] $properties Optional list of properties to get.
1
T $object Object to clone
1
int $native 0=Full isolation method, 1=Native PHP method, 2=Full isolation method keeping only scalar and array properties (recommended)
1
int $size Size we want
1
string $type Type of optimizing:
1
string $newstr String to replace bad chars with.
1
string $newstr String to replace bad chars with
1
int $type 0=Accept all Url, 1=Clean external Url (keep only relative Url)
1
string $stringtoclean String to clean. Example 'abc@mycompany.com '
1
string $str String to clean
1
string $newstr String to replace forbidden chars with
1
array|string $badcharstoreplace Array of forbidden characters to replace. Use '' to keep default list.
1
array|string $badcharstoremove Array of forbidden characters to remove. Use '' to keep default list.
1
int $keepspaces 1=Do not treat space as a special char to replace or remove
1
string $str String to clean
1
int $removetabcrlf Remove also CR-LF
1
string $stringtoescape String to escape
1
int<0,3> $mode 0=Escape also ' and " into ', 1=Escape ' but not " for usage into 'string', 2=Escape " but not ' for usage into "string", 3=Escape ' and " with \
1
int $noescapebackslashn 0=Escape also \n. 1=Do not escape \n.
1
int<1,2> $stringforquotes 2=String for doublequotes, 1=String for simple quotes
1
string $stringtoescape String to escape
1
int $keepb 1=Replace b tags with escaped value (except if in $noescapetags), 0=Remove them completely
1
int $keepn 1=Preserve \r\n strings, 0=Replace them with escaped value, -1=Remove them. Set to 1 when escaping for a
1
string $noescapetags '' or 'common' or list of tags to not escape.
1
int $escapeonlyhtmltags 1=Escape only html tags, not the special chars like accents.
1
int $cleanalsojavascript Clean also javascript. @TODO switch this option to 1 by default.
1
string $message Line to log. ''=Show nothing
1
int $level Log level
1
int $ident 1=Increase ident of 1 (after log), -1=Decrease ident of 1 (before log)
1
string $suffixinfilename When output is a file, append this suffix into default log filename. Example '_stripe', '_mail'
1
string $restricttologhandler Force output of log only to this log handler
1
array|null $logcontext If defined, an array with extra information (can be used by some log handlers)
1
string $name Unique identifier for the dialog
1
string $label Title of the dialog
1
string $buttonstring Text for the button that opens the dialog
1
string $exportSiteName Name of the "submit" input for site export
1
string $overwriteGitUrl URL for the link that triggers the overwrite action in GIT
1
Website $website Website object
1
string $name A name for the html component
1
string $label Label shown in Popup title top bar
1
string $buttonstring button string (HTML text we can click on)
1
string $url Relative Url to open. For example '/project/card.php'
1
string $disabled Disabled text
1
string $jsonopen Some JS code to execute on click/open of popup
1
string $backtopagejsfields The back to page must be managed using javascript instead of a redirect.
1
string $accesskey A key to use shortcut
1
array,string>> $links Array of tabs (0=>url, 1=>label, 2=>code, 3=>not used, 4=>text after link, 5=>morecssonlink). Currently initialized by calling a function xxx_admin_prepare_head. Note that label into $links[$i][1] must be already HTML escaped.
1
string $active Active tab name (document', 'info', 'ldap', ....)
1
int $notab -1 or 0=Add tab header, 1=no tab header (if you set this to 1, using print dol_get_fiche_end() to close tab is not required), -2=Add tab header with no sepaaration under tab (to start a tab just after), -3=Add tab header but no footer separation
1
string $morecss More Css
1
array,string>> $links Array of tabs (0=>url, 1=>label, 2=>code, 3=>not used, 4=>text after link, 5=>morecssonlink). Currently initialized by calling a function xxx_admin_prepare_head. Note that label into $links[$i][1] must be already HTML escaped.
1
string $active Active tab name
1
int $notab -1 or 0=Add tab header, 1=no tab header (if you set this to 1, using print dol_get_fiche_end() to close tab is not required), -2=Add tab header with no separation under tab (to start a tab just after), -3=-2+'noborderbottom'
1
string $morecss More CSS on the link
1
int $dragdropfile 0 (default) or 1. 1 enable a drop zone for file to be upload, 0 disable it
1
int<-1,1> $notab -1 or 0=Add tab footer, 1=no tab footer
1
int<-1,1> $notab -1 or 0=Add tab footer, 1=no tab footer
1
CommonObject $object Object to show
1
string $paramid Name of parameter to use to name the id into the URL next/previous link
1
string $morehtml More html content to output just before the nav bar
1
int $shownav Show Condition (navigation is shown if value is 1)
1
string $fieldid Name of the field in DB to use to select next et previous (we make the select max and min on this field). Use 'none' for no prev/next search.
1
string $fieldref Name of the field (object->ref) to use to select next et previous
1
string $morehtmlref More html to show after the ref (see $morehtmlleft for before)
1
string $moreparam More param to add in nav link url.
1
int $nodbprefix Do not include DB prefix to forge table name
1
string $morehtmlleft More html code to show before the ref (see $morehtmlref for after)
1
string $morehtmlstatus More html code to show under navigation arrows
1
int $onlybanner Put this to 1, if the card will contains only a banner (this add css 'arearefnobottom' on div)
1
string $morehtmlright More html code to show before navigation arrows
1
string $langkey Translation key
1
string $fieldkey Key of the html select field the text refers to
1
int $fieldrequired 1=Field is mandatory
1
boolean $var false or true
1
string $moreclass More class to add
1
Object $object A company or contact object
1
int $withcountry 1=Add country into address string
1
string $sep Separator to use to separate info when building string
1
?Translate $outputlangs Object lang that contains language for text translation.
1
int $mode 0=Standard output, 1=Remove address
1
string $extralangcode User extralanguage $langcode as values for address, town
1
string $fmt Format of strftime function (http://php.net/manual/fr/function.strftime.php)
1
int|false $ts Timestamp (If is_gmt is true, timestamp is already includes timezone and daylight saving offset, if is_gmt is false, timestamp is a GMT timestamp and we must compensate with server PHP TZ)
1
bool $is_gmt See comment of timestamp parameter
1
int|string $time GM Timestamps date
1
string $format Output date format (tag of strftime function)
1
string|bool $tzoutput true or 'gmt' => string is for Greenwich location
1
Translate $outputlangs Object lang that contains language for text translation.
1
boolean $encodetooutput false=no convert into output pagecode
1
int $timestamp Timestamp
1
boolean $fast Fast mode. deprecated.
1
string $forcetimezone '' to use the PHP server timezone. Or use a form like 'gmt', 'Europe/Paris' or '+0200' to force timezone.
1
int $hour Hour (can be -1 for undefined)
1
int $minute Minute (can be -1 for undefined)
1
int $second Second (can be -1 for undefined)
1
int $month Month (1 to 12)
1
int $day Day (1 to 31)
1
int $year Year
1
mixed $gm True or 1 or 'gmt'=Input information are GMT values
1
int $check 0=No check on parameters (Can use day 32, etc...)
1
string $mode 'auto' => for backward compatibility (avoid this),
1
int $size Size to print
1
int $shortvalue Tell if we want long value to use another unit (Ex: 1.5Kb instead of 1500b)
1
int $shortunit Use short label of size unit (for example 'b' instead of 'bytes')
1
string $url Url to show
1
string $target Target for link
1
int $max Max number of characters to show
1
int $withpicto With picto
1
string $morecss More CSS
1
string $email EMail to show (only email, without 'Name of recipient' before)
1
int $cid Id of contact if known
1
int $socid Id of third party if known
1
int $addlink 0=no link, 1=email has a html email link (+ link to create action if constant AGENDA_ADDACTIONFOREMAIL is on)
1
int $max Max number of characters to show
1
int $showinvalid 1=Show warning if syntax email is wrong
1
int|string $withpicto Show picto
1
string $value Social network ID to show (only skype, without 'Name of recipient' before)
1
int $cid Id of contact if known
1
int $socid Id of third party if known
1
string $type 'skype','facebook',...
1
array $dictsocialnetworks List of socialnetworks available
1
string $profID Value of profID to format
1
string $profIDtype Type of profID to format ('1', '2', '3', '4', '5', '6' or 'VAT')
1
string $countrycode Country code to use for formatting
1
int<0,2> $addcpButton Add button to copy to clipboard (1 => show only on hoover ; 2 => always display )
1
string $phone Phone number to format
1
string $countrycode Country code to use for formatting
1
int $cid Id of contact if known
1
int $socid Id of third party if known
1
string $addlink ''=no link to create action, 'AC_TEL'=add link to clicktodial (if module enabled) and add link to create event (if conf->global->AGENDA_ADDACTIONFORPHONE set), 'tel'=Force "tel:..." link
1
string $separ Separation between numbers for a better visibility example : xx.xx.xx.xx.xx. You can also use 'hidenum' to hide the number, keep only the picto.
1
string $withpicto Show picto ('fax', 'phone', 'mobile')
1
string $titlealt Text to show on alt
1
int $adddivfloat Add div float around phone.
1
int $mode 0=return IP + country/flag, 1=return only country/flag, 2=return only IP
1
string $address Address string, already formatted with dol_format_address()
1
int $htmlid Html ID (for example 'gmap')
1
int $element 'thirdparty'|'contact'|'member'|'user'|'other'
1
int $id Id of object
1
int $noprint No output. Result is the function return
1
string $charfornl Char to use instead of nl2br. '' means we use a standad nl2br.
1
string $address email (Ex: "toto@example.com". Long form "John Do " will be false)
1
int $acceptsupervisorkey If 1, the special string '__SUPERVISOREMAIL__' is also accepted as valid
1
int $acceptuserkey If 1, the special string '__USER_EMAIL__' is also accepted as valid
1
string $domain Domain name (Ex: "yahoo.com", "yhaoo.com", "dolibarr.fr")
1
string $phone phone (Ex: "0601010101")
1
string $s String to truncate
1
int $nbofchar Nb of characters to keep
1
string $string String to calculate length
1
string $stringencoding Encoding of string
1
string $string String to scan
1
int $start Start position (0 for first char)
1
int|null $length Length (in nb of characters or nb of bytes depending on trunconbytes param)
1
string $stringencoding Page code used for input string encoding
1
int $trunconbytes 1=Length is max of bytes instead of max of characters
1
string $string String to truncate
1
int $size Max string size visible (excluding …). 0 for no limit. WARNING: Final string size can have 3 more chars (if we added …, or if size was max+1 so it does not worse to replace with ...)
1
string $trunc Where to trunc: 'right', 'left', 'middle' (size must be a 2 power), 'wrap'
1
string $stringencoding Tell what is source string encoding
1
int $nodot Truncation do not add … after truncation. So it's an exact truncation.
1
int $display Trunc is used to display data and can be changed for small screen. TODO Remove this param (must be dealt with CSS)
1
string $key Key
1
string $titlealt Text on title tag for tooltip. Not used if param notitle is set to 1.
1
string $picto Name of image file to show ('filenew', ...).
1
string $moreatt Add more attribute on img tag (For example 'class="pictofixedwidth"')
1
int<0,1> $pictoisfullpath If true or 1, image path is a full path, 0 if not
1
int $srconly Return only content of the src attribute of img.
1
int $notitle 1=Disable tag title. Use it if you add js tooltip, to avoid duplicate tooltip.
1
string $alt Force alt for bind people
1
string $morecss Add more class css on img tag (For example 'myclascss').
1
int $marginleftonlyshort 1 = Add a short left margin on picto, 2 = Add a larger left margin on picto, 0 = No margin left. Works for fontawesome picto only.
1
string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
1
string $picto Name of image to show object_picto (example: user, group, action, bill, contract, propal, product, ...)
1
string $moreatt Add more attribute on img tag (ie: class="datecallink")
1
int $pictoisfullpath If 1, image path is a full path
1
int $srconly Return only content of the src attribute of img.
1
int $notitle 1=Disable tag title. Use it if you add js tooltip, to avoid duplicate tooltip.
1
string|int $picto Name of image file to show (If no extension provided, we use '.png'). Image must be stored into htdocs/theme/common directory. Or level of meteo image (0-4).
1
string $morecss More CSS
1
string $picto Name of image file to show (If no extension provided, we use '.png'). Image must be stored into htdocs/theme/common directory.
1
int $notitle 1=Disable tag title. Use it if you add js tooltip, to avoid duplicate tooltip.
1
string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
1
string $numaction Action id or code to show
1
string $moreatt More attributes
1
string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
1
int $size Taille de l'icone : 3 = 16x16px , 2 = 14x14px
1
string $titlealt Text on alt and title of image. Alt only if param notitle is set to 1. If text is "TextA:TextB", use Text A on alt and Text B on title.
1
string $other Add more attributes on img
1
int $usehelpcursor 1=Use help cursor, 2=Use click pointer cursor, 0=No specific cursor
1
int|string $usealttitle Text to use as alt title
1
string $moreatt Add more attribute on img tag (For example 'style="float: right"'). If 1, add float: right. Can't be "class" attribute.
1
string $morecss Add more CSS
1
int $selected Selected
1
string $allow Allow
1
string $brand Brand name of credit card
1
string $morecss More css
1
string $text Text info
1
integer $infoonimgalt Info is shown only on alt of star picto, otherwise it is show on output after the star picto
1
int $nodiv No div
1
string $admin '1'=Info for admin users. '0'=Info for standard users (change only the look), 'error', 'warning', 'xxx'=Other
1
string $morecss More CSS ('', 'warning', 'error')
1
string $textfordropdown Show a text to click to dropdown the info box.
1
DoliDB|null $db Database handler
1
string|string[] $error String or array of errors strings to show
1
string[]|null $errors Array of errors
1
string $prefixcode Prefix of public error code
1
string $errormessage Complete error message
1
string[] $errormessages Array of error messages
1
string $morecss More css
1
string $email Email
1
string $name Label of field
1
string $file Url used when we click on sort picto
1
string $field Field to use for new sorting
1
string $begin ("" by default)
1
string $moreparam Add more parameters on sort url links ("" by default)
1
string $moreattrib Options of attribute td ("" by default)
1
string $sortfield Current field used to sort
1
string $sortorder Current sort order
1
string $prefix Prefix for css. Use space after prefix to add your own CSS tag, for example 'mycss '.
1
string $tooltip Tooltip
1
int $forcenowrapcolumntitle No need for use 'wrapcolumntitle' css style
1
string $name Translation key of field to show or complete HTML string to show
1
int $thead 0=To use with standard table format, 1=To use inside
, 2=To use with
1
string $file Url used when we click on sort picto
1
string $field Field to use for new sorting. Empty if this field is not sortable. Example "t.abc" or "t.abc,t.def"
1
string $begin ("" by default)
1
string $moreparam Add more parameters on sort url links ("" by default)
1
string $moreattrib Add more attributes on th ("" by default). To add more css class, use param $prefix.
1
string $sortfield Current field used to sort (Ex: 'd.datep,d.id')
1
string $sortorder Current sort order (Ex: 'asc,desc')
1
string $prefix Prefix for css. Use space after prefix to add your own CSS tag, for example 'mycss '.
1
int $disablesortlink 1=Disable sort link
1
string $tooltip Tooltip
1
int $forcenowrapcolumntitle No need for use 'wrapcolumntitle' css style
1
string $title Title to show
1
string $title Title to show
1
string $mesg Added message to show on right
1
string $id To force an id on html objects by example id="name" where name is id
1
string $title Title to show (HTML sanitized content)
1
string $morehtmlright Added message to show on right
1
string $id To force an id on html objects
1
string $morecssontable More css on table
1
string $morehtmlcenter Added message to show on center
1
string $title Title to show (required)
1
int|null $page Numero of page to show in navigation links (required)
1
string $file Url of page (required)
1
string $options More parameters for links ('' by default, does not include sortfield neither sortorder). Value must be 'urlencoded' before calling function.
1
string $sortfield Field to sort on ('' by default)
1
string $sortorder Order to sort ('' by default)
1
string $morehtmlcenter String in the middle ('' by default). We often find here string $massaction coming from $form->selectMassAction()
1
int $num Number of records found by select with limit+1
1
int|string $totalnboflines Total number of records/lines for all pages (if known). Use a negative value of number to not show number. Use '' if unknown.
1
string $picto Icon to use before title (should be a 32x32 transparent png file)
1
int $pictoisfullpath 1=Icon name is a full absolute url of image
1
string $morehtmlright More html to show (after arrows)
1
string $morecss More css to the table
1
int $limit Max number of lines (-1 = use default, 0 = no limit, > 0 = limit).
1
int $hideselectlimit Force to hide select limit
1
int $hidenavigation Force to hide the arrows and page for navigation
1
int $pagenavastextinput 1=Do not suggest list of pages to navigate but suggest the page number into an input field.
1
string $morehtmlrightbeforearrow More html to show (before arrows)
1
int $page Number of page
1
string $file Page URL (in most cases provided with $_SERVER["PHP_SELF"])
1
string $options Other url parameters to propagate ("" by default, may include sortfield and sortorder)
1
integer $nextpage Do we show a next page button
1
string $betweenarrows HTML content to show between arrows. MUST contains '
' tags or '
'.
1
string $afterarrows HTML content to show after arrows. Must NOT contains '
' tags.
1
int $limit Max nb of record to show (-1 = no combo with limit, 0 = no limit, > 0 = limit)
1
int $totalnboflines Total number of records/lines for all pages (if known)
1
int $hideselectlimit Force to hide select limit
1
string $beforearrows HTML content to show before arrows. Must NOT contains '
' tags.
1
int $hidenavigation Force to hide the switch mode view and the navigation tool (hide limit section, html in $betweenarrows and $afterarrows but not $beforearrows)
1
string $rate Rate value to format ('19.6', '19,6', '19.6%', '19,6%', '19.6 (CODEX)', ...)
1
boolean $addpercent Add a percent % sign in output
1
int $info_bits Miscellaneous information on vat (0=Default, 1=French NPR vat)
1
int $usestarfornpr -1=Never show, 0 or 1=Use '*' for NPR vat rates
1
int $html Used for html output
1
string|float $amount Amount value to format
1
int<0,1> $form Type of formatting: 1=HTML, 0=no formatting (no by default)
1
Translate|string|null $outlangs Object langs for output. '' use default lang. 'none' use international separators.
1
int $trunc 1=Truncate if there is more decimals than MAIN_MAX_DECIMALS_SHOWN (default), 0=Does not truncate. Deprecated because amount are rounded (to unit or total amount accuracy) before being inserted into database or after a computation, so this parameter should be useless.
1
int $rounding MINIMUM number of decimal to show: 0=no change, -1=we use min($conf->global->MAIN_MAX_DECIMALS_UNIT,$conf->global->MAIN_MAX_DECIMALS_TOT)
1
int|string $forcerounding MAXIMUM number of decimal to forcerounding decimal: -1=no change, 'MU' or 'MT' or a numeric to round to MU or MT or to a given number of decimal
1
string $currency_code To add currency symbol (''=add nothing, 'auto'=Use default currency, 'XXX'=add currency symbols for XXX currency)
1
string|float $amount Amount to convert/clean or round
1
string|int $rounding ''=No rounding
1
int $option Put 1 if you know that content is already universal format number (so no correction on decimal will be done)
1
float $dimension Dimension
1
int $unit Unit scale of dimension (Example: 0=kg, -3=g, -6=mg, 98=ounce, 99=pound, ...)
1
string $type 'weight', 'volume', ...
1
Translate $outputlangs Translate language object
1
int $round -1 = non rounding, x = number of decimal
1
string $forceunitoutput 'no' or numeric (-3, -6, ...) compared to $unit (In most case, this value is value defined into $conf->global->MAIN_WEIGHT_DEFAULT_UNIT)
1
float|string $vatrate Vat rate. Can be '8.5' or '8.5 (VATCODEX)' for example
1
int $local Local tax to search and return (1 or 2 return only tax rate 1 or tax rate 2)
1
Societe $thirdparty_buyer Object of buying third party
1
Societe $thirdparty_seller Object of selling third party ($mysoc if not defined)
1
int $vatnpr If vat rate is NPR or not
1
int $local Local tax to test (1 or 2)
1
int $local LocalTax to get
1
int|string $vatrate VAT ID or Rate. Value can be value or the string with code into parenthesis or rowid if $firstparamisid is 1. Example: '8.5' or '8.5 (8.5NPR)' or 123.
1
Societe $buyer Company object
1
Societe $seller Company object
1
int<0,1> $firstparamisid 1 if first param is id into table (use this if you can)
1
int|string $vatrate VAT ID or Rate+Code. Value can be value or the string with code into parenthesis or rowid if $firstparamisid is 1. Example: '8.5' or '8.5 (8.5NPR)' or 123.
1
int $local Number of localtax (1 or 2, or 0 to return 1 & 2)
1
Societe $buyer Company object
1
Societe $seller Company object
1
int $firstparamisid 1 if first param is ID into table instead of Rate+code (use this if you can)
1
int $idprod Id of product or 0 if not a predefined product
1
Societe $thirdpartytouse Thirdparty with a ->country_code defined (FR, US, IT, ...)
1
int $idprodfournprice Id product_fournisseur_price (for "supplier" proposal/order/invoice)
1
int $idprod Id of product
1
int $local 1 for localtax1, 2 for localtax 2
1
Societe $thirdpartytouse Thirdparty with a ->country_code defined (FR, US, IT, ...)
1
Societe $thirdparty_seller Object Seller company
1
Societe $thirdparty_buyer Object Buyer company
1
int $idprodfournprice Id product_fournisseur_price (for supplier order/invoice)
1
Societe $thirdparty_seller Thirdparty seller
1
Societe $thirdparty_buyer Thirdparty buyer
1
int $idprod Id product
1
int $idprodfournprice Id supplier price for product
1
Societe $thirdparty_seller Third party seller
1
Societe $thirdparty_buyer Third party buyer
1
int $local Localtax to process (1 or 2)
1
string|int $yesno Value to test (1, 'yes', 'true' or 0, 'no', 'false')
int $color 0=texte only, 1=Text is formatted with a color font style ('ok' or 'error'), 2=Text is formatted with 'ok' color.
1
string|int $num Id of object (deprecated, $object will be used in future)
1
int $level Level of subdirs to return (1, 2 or 3 levels). (deprecated, global option will be used in future)
1
int $alpha 0=Keep number only to forge path, 1=Use alpha part after the - (By default, use 0). (deprecated, global option will be used in future)
1
int $withoutslash 0=With slash at end (except if '/', we return ''), 1=without slash at end
1
?CommonObject $object Object to use to get ref to forge the path.
1
string $modulepart Type of object ('invoice_supplier, 'donation', 'invoice', ...'). Use '' for autodetect from $object.
1
string $dir Directory to create (Separator must be '/'. Example: '/mydir/mysubdir')
1
string $dataroot Data root directory (To avoid having the data root in the loop. Using this will also lost the warning, on first dir, saying PHP has no permission when open_basedir is used)
1
string $newmask Mask for new file (Defaults to $conf->global->MAIN_UMASK or 0755 if unavailable). Example: '0444'
1
string $filepath Full file path
1
string $newmask Force new mask. For example '0644'
1
string $stringtoclean String to clean
1
integer $removelinefeed 1=Replace all new lines by 1 space, 0=Only ending new lines are removed others are replaced with \n, 2=The ending new line is removed but others are kept with the same number of \n than the nb of when there is both "... \n..."
1
string $pagecodeto Encoding of input/output string
1
integer $strip_tags 0=Use internal strip, 1=Use strip_tags() php function (bugged when text contains a < char that is not for a html tag or when tags is not closed like '
1
integer $removedoublespaces Replace double space into one space
1
int $cleanalsosomestyles Remove absolute/fixed positioning from inline styles
1
int $removeclassattribute 1=Remove the class attribute from tags
1
int $cleanalsojavascript Remove also occurrence of 'javascript:'.
1
int $allowiframe Allow iframe tags.
1
string[] $allowed_tags List of allowed tags to replace the default list
1
int $allowlink Allow "link" tags.
1
string[] $allowed_attributes Array of tags not allowed
1
array $disallowed_tags Array of tags not allowed
1
int $cleanalsosomestyles Clean also some tags
1
string $text Input text
1
int $nboflines Nb of lines to get (default is 1 = first line only)
1
string $charset Charset of $text string (UTF-8 by default)
1
int $nl2brmode 0=Adding br before \n, 1=Replacing \n by br
1
bool $forxml false=Use , true=Use
1
string $stringtoencode String to encode
1
int $nouseofiframesandbox 0=Default, 1=Allow use of option MAIN_SECURITY_USE_SANDBOX_FOR_HTMLWITHNOJS for html sanitizing (not yet working)
1
string $check 'restricthtmlnolink' or 'restricthtml' or 'restricthtmlallowclass' or 'restricthtmlallowunvalid'
1
int $nl2brmode 0=Adding br before \n, 1=Replacing \n by br (for use with FPDF writeHTMLCell function for example)
1
string $pagecodefrom Pagecode stringtoencode is encoded
1
int $removelasteolbr 1=Remove last br or lasts \n (default), 0=Do nothing
1
string $pagecodeto Page code for result
1
string $a Operand a
1
string $b Operand b (ENT_QUOTES|ENT_HTML5=convert simple, double quotes, colon, e accent, ...)
1
string $c Operand c
1
int $keepsomeentities Entities but &, <, >, " are not converted.
1
string $string The input string to encode
1
int $flags Flags (see PHP doc above)
1
string $encoding Encoding page code
1
bool $double_encode When double_encode is turned off, PHP will not encode existing html entities
1
string $s String to check
1
int $clean Clean if it is not an ISO. Warning, if file is utf8, you will get a bad formatted file.
1
string $s String to check
1
int $maxchar Not yet used
1
string $text Text
1
int $maxlinesize Linewidth in character count (default = 0 == nolimit)
1
string $charset Give the charset used to encode the $text variable in memory.
1
string $msg Content to check
1
int $option 0=Full detection, 1=Fast check
1
string $text1 Text 1
1
string $text2 Text 2
1
bool $forxml true=Use instead of if we have to add a br tag
1
bool $invert invert order of description lines (we often use config MAIN_CHANGE_ORDER_CONCAT_DESCRIPTION in this parameter)
1
Translate $outputlangs Output language
1
int $onlykey 1=Do not calculate some heavy values of keys (performance enhancement when we need only the keys),
1
string[]|null $exclude Array of family keys we want to exclude. For example array('system', 'mycompany', 'object', 'objectamount', 'date', 'user', ...)
1
?CommonObject $object Object for keys on object
1
string[]|null $include Array of family keys we want to include. For example array('system', 'mycompany', 'object', 'objectamount', 'date', 'user', ...)
1
string $text Source string in which we must do substitution
1
array $substitutionarray Array with key->val to substitute. Example: array('__MYKEY__' => 'MyVal', ...)
1
?Translate $outputlangs Output language
1
int $converttextinhtmlifnecessary 0=Convert only value into HTML if text is already in HTML
1
array $substitutionarray Array substitution old value => new value value
1
Translate $outputlangs Output language
1
CommonObject $object Source object
1
mixed $parameters Add more parameters (useful to pass product lines)
1
string $callfunc What is the name of the custom function that will be called? (default: completesubstitutionarray)
1
int $date_start Start date
1
int $date_end End date
1
string $format Output format
1
Translate $outputlangs Output language
1
int $date_start Start date
1
int $date_end End date
1
string $format Output date format ('day', 'dayhour', ...)
int $nameorder -1=Auto, 0=Lastname+Firstname, 1=Firstname+Lastname, 2=Firstname, 3=Firstname if defined else lastname, 4=Lastname, 5=Lastname if defined else firstname
1
string|string[] $mesgs Message string or array
1
string $style Which style to use ('mesgs' by default, 'warnings', 'errors')
1
string|null $mesg Message string
1
string[]|null $mesgs Message array
1
string $style Which style to use ('mesgs' by default, 'warnings', 'errors')
1
string $messagekey A key to be used to allow the feature "Never show this message again"
1
string $style Style of message output ('ok' or 'error')
1
int $keepembedded Set to 1 in error message must be kept embedded into its html place (this disable jnotify)
1
int $keepembedded Set to 1 in error message must be kept embedded into its html place (this disable jnotify)
1
string $style Which style to use ('ok', 'warning', 'error')
1
int $keepembedded Set to 1 if message must be kept embedded into its html place (this disable jnotify)
1
int<0,1> $keepembedded Set to 1 in error message must be kept embedded into its html place (this disable jnotify)
1
array $array Array to sort (array of array('key1'=>val1,'key2'=>val2,'key3'...) or array of objects)
1
string $index Key in array to use for sorting criteria
1
string $order Sort order ('asc' or 'desc')
1
int<0,1> $natsort If values are strings (I said value not type): 0=Use alphabetical order, 1=use "natural" sort (natsort)
1
int<0,1> $case_sensitive 1=sort is case sensitive, 0=not case sensitive
1
int<0,1> $keepindex If 0 and index key of array to sort is a numeric, then index will be rewritten. If 1 or index key is not numeric, key for index is kept after sorting.
1
string $str String to encode (UTF-8)
1
DoliDB $db Database handler
1
string $key Code or Id to get Id or Code
1
string $tablename Table name without prefix
1
string $fieldkey Field to search the key into
1
string $fieldid Field to get
1
int $entityfilter Filter by entity
1
string $filters Filters to add. WARNING: string must be escaped for SQL and not coming from user input.
1
string $var Variable
1
string $regextext Text that must be a valid regex string
1
int<0,1> $matchrule 1=Test if start with, 0=Test if equal
1
string $strToEvaluate String with condition to check
1
string $onlysimplestring '0' (deprecated, do not use it anymore)=Accept all chars,
1
string $s String to evaluate
1
int<0,1> $returnvalue 0=No return (deprecated, used to execute eval($a=something)). 1=Value of eval is returned (used to eval($something)).
1
int<0,1> $hideerrors 1=Hide errors
1
string $onlysimplestring '0' (deprecated, do not use it anymore)=Accept all chars,
1
string $element Variable to check
1
string $codelang Language code ('en_IN', 'fr_CA', ...) or ISO Country code on 2 characters in uppercase ('IN', 'FR')
1
string $moreatt Add more attribute on img tag (For example 'style="float: right"' or 'class="saturatemedium"')
1
int<0,1> $notitlealt No title alt
1
string $countrycode Country code like 'US', 'FR', 'CA', 'ES', 'IN', 'MX', ...
1
Conf $conf Object conf
1
Translate $langs Object langs
1
object|null $object Object object
1
array> $head List of head tabs (updated by this function)
1
int $h New position to fill (updated by this function)
1
string $type Value for object where objectvalue can be
1
string $mode 'add' to complete head, 'remove' to remove entries
1
string $filterorigmodule Filter on module origin: 'external' will show only external modules. 'core' only core modules. No filter (default) will add both.
1
string $zone 'private' (for private pages) or 'public' (for public pages)
1
?string $string String to explode
1
string $delimiter Delimiter between each couple of data. Example: ';' or '[\n;]+' or '(\n\r|\r|\n|;)'
1
string $kv Delimiter between key and value
1
string $selector Selector ('#id' or 'input[name="ref"]') to use to find the HTML input field that must get the autofocus. You must use a CSS selector, so unique id preceding with the '#' char.
1
string|string[] $fields String or array of strings, filled with the name of all fields in the SQL query we must check (combined with a OR). Example: array("p.field1","p.field2")
1
string $value The value to look for.
1
integer $mode 0=value is list of keyword strings,
1
integer $nofirstand 1=Do not output the first 'AND'
1
string $file Original filename (full or relative path)
1
string $extImgTarget Force image extension for thumbs. Use '' to keep same extension than original image (default).
1
string $relativepath Relative path of docs.
1
int<0,1> $alldata Return array with all components (1 is recommended, then use a simple a href link with the class, target and mime attribute added. 'documentpreview' css class is handled by jquery code into main.inc.php)
1
string $htmlname Id of html object ('#idvalue' or '.classvalue')
1
string $addlink Add a 'link to' after
1
string $textonlink Text to show on link or 'image'
1
string $file Filename we looking for information
1
string $file Filename we looking for MIME type
1
string $default Default mime type if extension not found in known list
1
int<0,4> $mode 0=Return full mime, 1=otherwise short mime string, 2=image for mime type, 3=source language, 4=css of font fa
1
string $tablename Name of table dictionary (without the MAIN_DB_PREFIX, example: 'c_holiday_types')
1
string $field The name of field where to find the value to return
1
int $id Id of line record
1
bool $checkentity Add filter on entity
1
string $rowidfield Name of the column rowid (to use for the filter on $id)
1
int<0,1> $type_user 0=We test for internal user, 1=We test for external user
1
array{enabled:int<0,1>,module:string,perms:string} $menuentry Array for feature entry to test
1
string[] $listofmodulesforexternal Array with list of modules allowed to external users
1
float $n Number to round up
1
int $x Multiple. For example 60 to round up to nearest exact minute for a date with seconds.
1
string $label label of badge no html : use in alt attribute for accessibility
1
string $html optional : label of badge with html
1
string $type type of badge : Primary Secondary Success Danger Warning Info Light Dark status0 status1 status2 status3 status4 status5 status6 status7 status8 status9
1
''|'pill'|'dot' $mode Default '' , 'pill', 'dot'
1
string $url the url for link
1
array $params Various params for future : recommended rather than adding more function arguments. array('attr'=>array('title'=>'abc'))
1
string $statusLabel Label of badge no html : use in alt attribute for accessibility
1
string $statusLabelShort Short label of badge no html
1
string $html Optional : label of badge with html
1
string $statusType status0 status1 status2 status3 status4 status5 status6 status7 status8 status9 : image name or badge name
array $params Various params. Example: array('tooltip'=>'no|...', 'badgeParams'=>...)
1
string $label Label or tooltip of button if $text is provided. Also used as tooltip in title attribute. Can be escaped HTML content or full simple text.
1
string $text Optional : short label on button. Can be escaped HTML content or full simple text.
string|array $url Url for link or array of subbutton description
1
string $id Attribute id of action button. Example 'action-delete'. This can be used for full ajax confirm if this code is reused into the ->formconfirm() method.
1
int|boolean $userRight User action right
1
array $params = [ // Various params for future : recommended rather than adding more function arguments
1
string $moreClass more css class label
1
string $fieldValidationErrorMsg message to add in tooltip
1
string $label label of button
1
string $helpText optional : content for help tooltip
1
string $iconClass class for icon element (Example: 'fa fa-file')
1
string $url the url for link
1
string $id attribute id of button
1
int<-2,2> $status 0 no user rights, 1 active, 2 current action or selected, -1 Feature Disabled, -2 disable Other reason use param $helpText as tooltip help
1
array $params various params for future : recommended rather than adding more function arguments
1
string $elementType Element type (Value of $object->element or value of $object->element@$object->module). Example:
1
int $element_id Element id (Use this or element_ref but not both. If id and ref are empty, object with no fetch is returned)
1
string $element_type Element type ('module' or 'myobject@mymodule' or 'mymodule_myobject')
1
string $element_ref Element ref (Use this or element_id but not both. If id and ref are empty, object with no fetch is returned)
1
int<0,2> $useCache If you want to store object in cache or get it from cache 0 => no use cache , 1 use cache, 2 force reload cache
1
int $maxCacheByType Number of object in cache for this element type
1
string $filename File name to test
1
string $header The first left header of the table (automatic translated)
1
string $link (optional) The link to a internal dolibarr page, where to go on clicking on the number or the ... (without the first "/")
1
string $arguments (optional) Additional arguments for the link (e.g. "search_status=0")
1
integer $emptyColumns (optional) Number of empty columns to add after the first column
1
integer $number (optional) The number that is shown right after the first header, when -1 the link is shown as '...'
1
string $pictofulllist (optional) The picto to use for the full list link
1
bool $addLineBreak (optional) Add a extra line break after the complete table (\ )
1
integer $tableColumnCount The complete count columns of the table
1
integer $num The count of the rows of the table, when it is zero (0) the "$noneWord" is shown instead
1
integer $nbofloop (optional) The maximum count of rows thaht the table show (when it is zero (0) no summary line will show, expect "$noneWord" when $num === 0)
1
integer $total (optional) The total value thaht is shown after when the table has minimum of one entire
1
string $noneWord (optional) The word that is shown when the table has no entries ($num === 0)
1
boolean $extraRightColumn (optional) Add a additional column after the summary word and total number
1
string $fullpath_original_file_osencoded Full path of file to return.
int<0,1> $showonlyonhover Show the copy-paste button only on hover
1
string $texttoshow Replace the value to show with this text. Use 'none' to show no text (only the copy-paste picto)
1
string $stringtodecode String to decode (json or serialize coded)
1
string $filter String with universal search string. Must be '(aaa:bbb:ccc) OR (ddd:eeee:fff) ...' with
1
string $errorstr Error message string
1
int<0,1> $noand 1=Do not add the AND before the condition string.
1
int<0,1> $nopar 1=Do not add the parenthesis around the final condition string.
1
int<0,1> $noerror 1=If search criteria is not valid, does not return an error string but invalidate the SQL
1
string $sqlfilters Universal SQL filter string. Must have been trimmed before.
1
string $sqlfilters Universal SQL filter string. Must have been trimmed before.
1
string $error Returned error message
1
int $parenthesislevel Returned level of global parenthesis that we can remove/simplify, 0 if error or we can't simplify.
1
string[] $matches Array of found string by regex search. Example: "t.ref:like:'SO-%'" or "t.date_creation:<:'20160101'" or "t.nature:is:NULL"
1
string[] $matches Array of found string by regex search.
1
ActionComm $actionstatic actioncomm
1
array $histo histo
1
int $key key
1
ActionComm $object Object ActionComm
1
Conf $conf Object conf
1
Translate $langs Object langs
1
DoliDB $db Object db
1
?CommonObject $filterobj Filter on object Adherent|Societe|Project|Product|CommandeFournisseur|Dolresource|Ticket|... to list events linked to an object
1
?Contact $objcon Filter on object contact to filter events on a contact
1
int $noprint Return string but does not output it
1
string $actioncode Filter on actioncode
1
string $donetodo Filter on event 'done' or 'todo' or ''=nofilter (all).
1
array $filters Filter on other fields
1
string $sortfield Sort field
1
string $sortorder Sort order
1
string $hourTime 'getpost' to include hour, minute, second values from the HTTP request, 'XX:YY:ZZ' to set
1
string $gm Passed to dol_mktime
1
?int $timestamp If null, the timestamp will be created from request data
1
string $hourTime If timestamp is null, will be passed to GETPOSTDATE to construct the timestamp
1
string $gm If timestamp is null, will be passed to GETPOSTDATE to construct the timestamp
1
string $message Custom error message to display. If empty, a default "Record Not Found" message is shown.
1
int<0,1> $printheader Determines if the page header should be printed (1 = yes, 0 = no).
1
int<0,1> $printfooter Determines if the page footer should be printed (1 = yes, 0 = no).
1
int<0,1> $showonlymessage If set to 1, only the error message is displayed without any additional information or hooks.
1
mixed $params Optional parameters to pass to hooks for further processing or customization.
1
Project $project Object related to tabs
1
string $moreparam More param on url
1
string $fuser Filter on user
1
string $inc Line number (start to 0, then increased by recursive call)
1
string $parent Id of parent task to show (0 to show all)
1
Task[] $lines Array of lines
1
int $level Level (start to 0, then increased/decrease by recursive call), or -1 to show all level in order of $lines without the recursive groupment feature.
1
string $var Color
1
int $showproject Show project columns
1
int $taskrole Array of roles of user for each tasks
1
string $projectsListId List of id of project allowed to user (string separated with comma)
1
int $addordertick Add a tick to move task
1
int $projectidfortotallink 0 or Id of project to use on total line (link to see all time consumed for project)
1
string $dummy Not used.
1
int $showbilltime Add the column 'TimeToBill' and 'TimeBilled'
1
array $arrayfields Array with displayed column information
1
array $arrayofselected Array with selected fields
1
array $TWeek Array of week numbers
1
int $inc Counter that count number of lines legitimate to show (for return)
1
int $parent Id of parent task to start
1
Task[] $lines Array of all tasks
1
string $taskrole Array of task filtered on a particular user
1
Form $form Object form
1
int $socid Id thirdparty
1
int $projectsListId Id of project I have permission on
1
int $mytasks Limited to task I am contact to
1
int $status -1=No filter on statut, 0 or 1 = Filter on status
1
array $listofoppstatus List of opportunity status
1
array $hiddenfields List of info to not show ('projectlabel', 'declaredprogress', '...', )
bool $spaced used to add space at bottom (made by css)
1
Task $task the task object
1
string $label empty = auto (progress), string = replace output
1
string $tooltip empty = auto , string = replace output
1
BonPrelevement $object Object related to tabs
1
string $type 'bank-transfer' or 'direct-debit'
1
BonPrelevement $object Member
1
int $nbOfInvoices No of invoices
1
int $nbOfSalaryInvoice No of salary invoices
1
string $reportname Name of report
1
string $notused Not used
1
integer $builddate Date generation
1
array $moreparam Array with list of params to add into form
1
Paiement $object Current salaries object
1
Object $object Holiday
1
int $id ID of bank line
1
string $paymentmethod Filter on this payment method (''=none, 'paypal', ...)
1
string $label Text or HTML tag to display, if empty it display the URL
1
int $mode 0=True url, 1=Url formatted with colors
1
string $type Type of URL ('free', 'order', 'invoice', 'contractline', 'member', 'boothlocation', ...)
1
string $ref Ref of object
1
int|float $amount Amount of money to request for
1
string $freetag Free tag (required and used for $type='free' only)
1
int $localorexternal 0=Url for browser, 1=Url for external access
1
ProductLot $object Object related to tabs
1
int $socid Thirdparty id
1
Productlot $batch Product batch object
1
int $socid Thirdparty id
1
string $measuring_style Style of unit: weight, volume,...
1
string $measuring_style Style of unit: 'weight', 'volume', ..., '' = 'net_measure' for option PRODUCT_ADD_NET_MEASURE
1
Fiscalyear $object Object related to tabs
1
array{login:string,password:string,entity:?int,dolibarrkey:string} $authentication Array with authentication information ('login'=>,'password'=>,'entity'=>,'dolibarrkey'=>)
1
int $error Number of errors
1
string $errorcode Error string code
1
string $errorlabel Error string label
1
mixed $var Value to test
1
boolean $allow_false Setting this to true will make the function consider a boolean value of false as NOT empty. This parameter is false by default.
1
boolean $allow_ws Setting this to true will make the function consider a string with nothing but white space as NOT empty. This parameter is false by default.
1
AccountingAccount $object Accounting account
1
string $account Accounting account
1
string $accounta Auxiliary accounting account
1
string $nom Name of report
1
string $variant Link for alternate report
1
integer $builddate Date of generation
1
array $moreparam Array with list of params to add into hidden fields of form
1
array $moreoptions Array with list of params to add to table
1
stdClass $conf Config
1
int $from_time [=null] Get current time or set time to find fiscal period
1
string $module Module
1
string $section Section
1
Contact $object Object related to tabs
1
Ticket $object Object Ticket
1
Object $object Object
1
int $car Length of string to generate key
1
string $title Title
1
string $head Head array
1
int $disablejs More content into html header
1
int $disablehead More content into html header
1
array $arrayofjs Array of complementary js files
1
array $arrayofcss Array of complementary css files
1
string $memoryid Memory id of shared area
1
mixed $data Data to save. It must not be a null value.
1
int $expire ttl in seconds, 0 never expire
1
string $memoryid Memory id of shared area
1
int $memoryid Memory id of shared area ('main', 'agenda', ...)
1
string $data Data to save. Must be a not null value.
1
int $expire ttl in seconds, 0 never expire
1
string $origin Origin ('commande', ...)
1
int $origin_id Origin id
1
string $filter Filter (Do not use a string from a user input)
1
ChargeSociales $object Object related to tabs
1
DoliDB $db Database handle
1
string $direction 'sell' or 'buy'
1
int $m Month
1
DoliDB $db Database handler object
1
int $direction 'sell' (customer invoice) or 'buy' (supplier invoices)
1
int $m Month
1
Translate|null $outputlangs Output lang to use to autodetect output format if we need 'auto' detection
1
string $mode 'setup' = Use setup, 'auto' = Force autodetection whatever is setup
1
string $format Array(width,height). Keep empty to use default setup.
1
string $metric Unit of format ('mm')
1
string $pagetype 'P' or 'l'
1
Translate $outputlangs Output langs object
1
Translate $outputlangs Output langs object
1
string $logo Full path to logo file to use
1
bool $url Image with url (true or false)
1
TCPDF $pdf PDF initialized object
1
string $htmlcontent HTML Content
1
Societe|Contact $thirdparty Contact or thirdparty
1
Translate $outputlangs Output language
1
int $includealias 1=Include alias name after name
1
Translate $outputlangs Output langs object
1
Societe $sourcecompany Source company object
1
Societe|string|null $targetcompany Target company object
string $mode Address type ('source', 'target', 'targetwithdetails', 'targetwithdetails_xxx': target but include also phone/fax/email/url)
1
Object|null $object Object we want to build document for
1
int $page_height Height of page
1
Translate $outputlangs Output language
1
array|null $exclude Array of family keys we want to exclude. For example array('mycompany', 'object', 'date', 'user', ...)
1
Object|null $object Object
1
int $onlykey 1=Do not calculate some heavy values of keys (performance enhancement when we need only the keys), 2=Values are truncated and html sanitized (to use for help tooltip)
1
array|null $include Array of family keys we want to include. For example array('system', 'mycompany', 'object', 'objectamount', 'date', 'user', ...)
1
TCPDF $pdf Object PDF
1
int $h Height of PDF
1
int $w Width of PDF
1
string $unit Unit of height (mm, pt, ...)
1
string $text Text to show
1
TCPDF $pdf Object PDF
1
Translate $outputlangs Object lang
1
int $curx X
1
int $cury Y
1
Account $account Bank account object
1
int $onlynumber Output only number (bank+desk+key+number according to country, but without name of bank and address)
1
int $default_font_size Default font size
1
TCPDF $pdf The PDF factory
1
string $paramfreetext Constant name of free text
1
Societe $fromcompany Object company
1
int $marge_basse Margin bottom we use for the autobreak
1
int $marge_gauche Margin left (no more used)
1
int $page_hauteur Page height
1
Object $object Object shown in PDF
1
int $showdetails Show company address details into footer (0=Nothing, 1=Show address, 2=Show managers, 3=Both)
1
int $hidefreetext 1=Hide free text, 0=Show free text
1
int $page_largeur Page width
1
string $watermark Watermark text to print on page
1
TCPDF $pdf Object PDF
1
object $object Object
1
Translate $outputlangs Object lang
1
int $posx X
1
int $posy Y
1
float $w Width of cells. If 0, they extend up to the right margin of the page.
1
float $h Cell minimum height. The cell extends automatically if needed.
1
int $align Align
1
string $default_font_size Font size
1
TCPDF $pdf PDF object
1
Object $object Object
1
int $w Width
1
int $h Height
1
int $posx Pos x
1
int $posy Pos y
1
int $hideref Hide reference
1
int $hidedesc Hide description
1
int $issupplierline Is it a line for a supplier object ?
1
string $align text alignment ('L', 'C', 'R', 'J' (default))
1
Object $object Object
1
int $i Current line number (0 = first line, 1 = second line, ...)
1
int $hidedetails Hide value (0 = no, 1 = yes, 2 = just special lines)
1
Object $object Object
1
int $i Current line number
1
Translate $outputlangs Object langs for output
1
int $hidedetails Hide details (0=no, 1=yes, 2=just special lines)
int $hidedetails Hide value (0 = no, 1 = yes, 2 = just special lines)
1
string $realpath Full path to photo file to use
1
CommonObject $object Object
1
int $hidedetails Hide details (0=no, 1=yes, 2=just special lines)
1
Deplacement $object Object related to tabs
1
array,type:string,fk_mainmenu:string,fk_leftmenu:string,url:string,titre:string,perms:string,target:string,mainmenu:string,leftmenu:string,position:int,level:int,prefix:string}> $tabMenu If array with menu entries already loaded, we put this array here (in most cases, it's empty)
1
array,type:string,fk_mainmenu:string,fk_leftmenu:string,url:string,titre:string,perms:string,target:string,mainmenu:string,leftmenu:string,position:int,level:int,prefix:string}> $menu_array_before Table of menu entries to show before entries of menu handler (menu->liste filled with menu->add)
1
array,type:string,fk_mainmenu:string,fk_leftmenu:string,url:string,titre:string,perms:string,target:string,mainmenu:string,leftmenu:string,position:int,level:int,prefix:string}> $menu_array_after Table of menu entries to show after entries of menu handler (menu->liste filled with menu->add)
1
array,type:string,fk_mainmenu:string,fk_leftmenu:string,url:string,titre:string,perms:string,target:string,mainmenu:string,leftmenu:string,position:int,level:int,prefix:string}> $tabMenu If array with menu entries already loaded, we put this array here (in most cases, it's empty)
1
string $type_user 0=We need backoffice menu, 1=We need frontoffice menu
1
array $menuentry Array for menu entry
1
array $listofmodulesforexternal Array with list of modules allowed to external users
1
int $showmode 1 or 2
1
array,type:string,fk_mainmenu:string,fk_leftmenu:string,url:string,titre:string,perms:string,target:string,mainmenu:string,leftmenu:string,position:int,level?:int,prefix:string}> $tabMenu If array with menu entries already loaded, we put this array here (in most cases, it's empty). For eldy menu, it contains menu entries loaded from database.
1
array{}|array{rowid:string,fk_menu:string,langs:string,enabled:int<0,2>,type:string,fk_mainmenu:string,fk_leftmenu:string,url:string,titre:string,perms:string,target:string,mainmenu:string,leftmenu:string,position:int,level?:int,prefix:string} $menuval All the $menuval array
1
array,type:string,fk_mainmenu:string,fk_leftmenu:string,url:string,titre:string,perms:string,target:string,mainmenu:string,leftmenu:string,position:int,level?:int,prefix:string}> $menu_array_before Table of menu entries to show before entries of menu handler (menu->liste filled with menu->add)
1
array,type:string,fk_mainmenu:string,fk_leftmenu:string,url:string,titre:string,perms:string,target:string,mainmenu:string,leftmenu:string,position:int,level?:int,prefix:string}> $menu_array_after Table of menu entries to show after entries of menu handler (menu->liste filled with menu->add)
1
array,type:string,fk_mainmenu:string,fk_leftmenu:string,url:string,titre:string,perms:string,target:string,mainmenu:string,leftmenu:string,position:int,level?:int,prefix:string}> $tabMenu If array with menu entries already loaded, we put this array here (in most cases, it's empty)
1
int $type_user Type of user
1
array $arrayofmembers Array of members
1
string $modele Force modele to use ('' to not force)
1
Translate $outputlangs Object langs to use for translation
1
string $outputdir Output directory
1
string $template pdf generenate document class to use default 'standard'
1
string $filename Name of output file (without extension)
1
array $arrayofrecords Array of records
1
string $modele Force le modele a utiliser ('' to not force)
1
Translate $outputlangs Object lang a utiliser pour traduction
1
string $outputdir Output directory
1
string $template pdf generenate document class to use default 'standardlabel'
1
string $value Remove standard separators
1
int $entitytotest Numero of instance (always 1 if module multicompany not enabled)
1
string $value Ex: $_SERVER["REMOTE_USER"]
1
string $temp_dir the temporary directory holding all the parts of the file
1
string $upload_dir the temporary directory to create file
1
string $fileName the original file name
1
string $chunkSize each chunk size (in bytes)
1
string $totalSize original file size (in bytes)
1
TCPDF $pdf PDF handler
1
array $params Array of params
1
array $sqltree Sqltree
1
string $selecteddir Selected dir
1
string $fullpathselecteddir Full path of selected dir
1
string $modulepart Modulepart
1
string $websitekey Website key
1
int $pageid Page id
1
string $preopened Current open dir
1
string $fullpathpreopened Full path of current open dir
string $context 'add'=Output field for the "add form", 'edit'=Output field for the "edit form", 'hide'=Output field for the "add form" but we don't want it to be rendered
1
string $context 'add'=Output field for the "add form", 'edit'=Output field for the "edit form", 'preview'=show in readonly the template, 'hide'=Output field for the "add form" but we don't want it to be rendered
1
array $fieldlist Array of fields
1
Object $obj If we show a particular record, obj is filled with record fields
1
int $idrss The id of the RSS feed
1
array $boxlist A list with boxes/widgets
1
string $name The name of the PHP extension
1
array $activated A list with all activated PHP extensions. Deprecated.
1
array $loaded A list with all loaded PHP extensions
1
array $functions A list with all PHP functions to check
int $monthshown Current month shown in calendar view
1
string $style Style to use for this day
1
array $eventarray Array of events
1
int $maxprint Nb of actions to show each day on month view (0 means no limit)
1
int $maxnbofchar Nb of characters to show for event line
1
string $newparam Parameters on current URL
1
int $showinfo Add extended information (used by day and week view)
1
int $minheight Minimum height for each event. 60px by default.
1
int $nonew 0=Add "new entry button", 1=No "new entry button", -1=Only "new entry button"
1
array{}|array{0:array{0:int,1:int,2:int},1:array{0:int,1:int,2:int},2:array{0:int,1:int,2:int}} $bookcalcalendarsarray Used for Bookcal module array of calendar of bookcal
1
string $color Color
1
int $minus Delta (1 = 16 unit). Positive value = darker color, Negative value = brighter color.
array{id:string,rank:int,url:string,name:string,group:string,override?:int<0,1>,children?:array,active?:bool,separator?:bool}>} $item Item of menu
1
int $deep Level of deep
1
array{rank?:int} $a PDF lines array fields configs
1
array{rank?:int} $b PDF lines array fields configs
1
string $dolibarr_main_document_root Root directory of Dolibarr bin files
1
string $soutitre Title
1
string $next Next
1
integer $nonext No button "Next step"
1
string $setuplang Language code
1
Position $object Position object
1
array $TMergedSkills skill list with all rate to add good picto
1
string $field which column of comparison we are working with
1
array $TSkill1 skill list of first column
1
array $TSkill2 skill list of second column
1
array $TUser list of users (employees) in selected usergroup of a column
1
int $fk_usergroup selected usergroup id
1
string $namelist html name
1
int[] $TUser array of employees we need to get skills
1
int $fk_job job we need to get required skills
1
SkillRank $object SkillRank
1
int $selected_rank rank we want to preselect
1
int $fk_skill id of skill we display ranks
1
string $inputname html name of input
1
string $mode view or edit
1
Skilldet $object Skilldet
1
Evaluation $object Evaluation
1
object $obj Object needed to be represented
1
object[] $objects all rows retrieve from sql query
1
Job $object Job
1
Position $object Position
1
Skill $object Skill
1
float $paymentAmount Amount
1
string $currencyCodeType Currency code
1
string $paymentType Payment type
1
string $returnURL Url to use if payment is OK
1
string $cancelURL Url to use if payment is KO
1
double $paymentAmount Payment amount
1
string $currencyCodeType Currency
1
string $paymentType Payment type
1
string $returnURL Return Url
1
string $cancelURL Cancel Url
1
string $tag Full tag
1
string $solutionType Type ('Mark' or 'Sole')
1
string $landingPage Landing page ('Login' or 'Billing')
1
string $shipToName Ship to name
1
string $shipToStreet Ship to street
1
string $shipToCity Ship to city
1
string $shipToState Ship to state
1
string $shipToCountryCode Ship to country code
1
string $shipToZip Ship to zip
1
string $shipToStreet2 Ship to street2
1
string $phoneNum Phone
1
string $email Email
1
string $desc Description
1
string $token Token
1
string $token Token
1
string $paymentType Type
1
string $currencyCodeType Currency
1
string $payerID Payer ID
1
string $ipaddress IP Address
1
string $FinalPaymentAmt Amount
1
string $methodName is name of API method.
1
string $nvpStr is nvp string.
1
string $nvpstr NVPString
1
EmailCollector $object EmailCollector
1
object $structure Structure of message
1
object $part Part of message
1
integer $jk Number of email
1
object $mbox object connection imap
1
integer $jk numéro du mail
1
integer $fpos position de la pièce jointe
1
integer $type type de la pièce jointe
1
object $mbox object connection imaap
1
string $path Path to file
1
string $filename Name of file
1
mixed $data Content to save
1
string $message Message
1
integer $coding Type of content
1
string $username Username to validate as a login
1
string $password Password to validate for $username
1
float $pv_ht Selling price without tax
1
float $remise_percent Discount percent on line
1
float $tva_tx Vat rate (not used)
1
float $localtax1_tx Vat rate special 1 (not used)
1
float $localtax2_tx Vat rate special 2 (not used)
1
int $fk_pa Id of buying price (prefer set this to 0 and provide $pa_ht instead. With id, buying price may have change)
1
float $pa_ht Buying price without tax
1
Partnership $object Partnership
1
Object $objtoshow Object to show
1
string $prefix Prefix of key
1
int $PRICE Price
1
string $CURRENCY Currency
1
string $EMAIL EMail
1
string $urlok Url to go back if payment is OK
1
string $urlko Url to go back if payment is KO
1
string $TAG Full tag
1
string $mode Mode (test | confirm)
1
string $oldemail Target email
1
string $message Message to send
1
string $total Total amount of unpayed invoices
1
string $userlang Code lang to use for email output.
1
string $oldtarget Target name
1
string $mode Mode (test | confirm)
1
string $oldemail Target email
1
string $message Message to send
1
string $total Total amount of unpayed invoices
1
string $userlang Code lang to use for email output.
1
string $oldtarget Target name of sale representative
1
string $mode Mode (test | confirm)
1
string $oldemail Target email
1
string $message Message to send
1
string $total Total amount of unpayed invoices
1
string $userlang Code lang to use for email output.
1
string $oldtarget Target name
1
int $duration_value duration value
1
string $mode Mode (test | confirm)
1
string $oldemail Target Email
1
string $message Message to send
1
string $total Total amount of unpayed invoices
1
string $userlang Code lang to use for email output.
1
string $oldtarget Target name of sale representative
1
int $duration_value Duration value
1
string $element Value to test
1
User $u Object user
1
Product $product Object product
1
string $element Value to test
1
string $path Path
1
string $script_file Filename
1
string|int $number Number to format
1
int $nbdec Number of decimal digits
1
$filename string Path to the file to modify
1
$fileType string Filetype identification for the file
1
$name string Name of developer to add in header
1
$email string Email for the developer
1
string $l String
1
string $s Size to format
1
string $infilename Input filename
1
string $outfilename Output filename
1
array $input Array of input
1
array $arrayofprimaryalreadyintabledef Array of table already output with a primary key set into definition
1
boolean $header Boolean
1
array $substitutionarray Array with substitution key=>val
1
Translate $outlangs Output langs
1
Object $object Object to use to get values
1
Translate $outlangs Language for output
1
int $number Number to encode in full text
1
string $isamount ''=it's just a number, '1'=It's an amount (default currency), 'currencycode'=It's an amount (foreign currency)
1
int $flags
1
string $family Name of family key of array $sqls
1
string $date Date value
1
int $id Object invoice (or id of invoice)
1
string $modele Force le modele a utiliser ('' to not force)
1
DoliDB $db Database handler
1
ExpenseReport $object Object ExpenseReport
1
string $modele Force the model to use ('' to not force)
1
Translate $outputlangs lang object to use for translation
1
DoliDB $db object base de donnee
1
Object $object Object fichinter
1
bool
1
int $fk_workstation Id of workstation we need to get linked resources
1
int $fk_workstation Id of workstation we need to remove linked resources
1
int $status New status to set
1
int $fk_workstation id of workstation we need to get linked usergroups
1
int $fk_workstation Id of workstation we need to remove linked usergroups
1
int $origin_line_id Id of source line
1
int $rang Rang
1
object $line_ext Object with full information of line. $line_ext->detail_batch must be an array of ExpeditionLineBatch
1
string $notused Internal reference of other object
1
User $user User
1
int $id Id of source line (order line)
1
array $dbatch Array of value (key 'detail' -> Array, key 'qty' total quantity for line, key ix_l : original line index)
1
int $id ID
1
int $mailing_id Id of emailing
1
int $notrigger Disable triggers
1
bool $also_update_stock true if the stock should be increased back (false by default)
1
User $user User making the deletion
1
int $notrigger Disable triggers
1
bool $also_update_stock true if the stock should be increased back (false by default)
1
MyObject $object Object source to build document
1
User $user User making deletion
1
MyObject $object Object to generate
1
int $withpicto Add picto into link
1
string $option Where the link point to
1
int $max Max length to show
1
int $short Use short labels
1
int $notooltip 1=No tooltip
1
User $user Object user that modify
1
integer $delivery_date Date of delivery
1
string $labelmovement Label of movement
1
MyObject $object Object to show
1
string $param More parameters
1
array $head Array with properties of box title
1
array $contents Array with properties of box lines
1
int $nooutput No print, only return string
1
string $name Name
1
int $id ID of shipment
1
string $thirdparty_ids Thirdparty ids to filter shipments of (example '1' or '1,2,3') {@pattern /^[0-9,]*$/i}
1
string $value Href
1
int $id Id of shipment to update
1
int $id Id of shipment to update
1
int $id Shipment ID
1
int $id Shipment ID
1
int $id Expedition ID
1
int $id_stockdluo Rowid in product_batch table
1
int $id_line_expdet rowid of expedtiondet record
1
User $f_user User that create
1
int $notrigger 1 = disable triggers
1
int $id_expedition rowid of shipment
1
int $id_line_expdet id of shipment line
1
int $fk_product If provided, load also detailed information of lot
1
int $nolines 0=Default to load extrafields, 1=No extrafields
1
int $limit Limit the number of lines returned
1
array $parameters Array of parameters
1
string $action 'add', 'update', 'view'
1
Object $object Object output on PDF
1
string $action 'add', 'update', 'view'
1
Object $pdfhandler PDF builder handler
1
string $action 'add', 'update', 'view'
1
array $parameters Array of parameters
1
string $action 'add', 'update', 'view'
1
Hookmanager $hookmanager hookmanager
1
int $id ID of myobject
1
int $id Id of myobject to update
1
int $id MyObject ID
1
string $sortfield Sort field
1
int $limit Limit for list
1
int $page Page number
1
string $sqlfilters Other criteria to filter answers separated by a comma. Syntax example "(t.product_id:=:1) and (t.date_creation:<:'20160101')"
1
string $properties Restrict the data returned to these properties. Ignored if empty. Comma separated list of properties names
1
int $id ID of Currency
1
string $code Code of Currency (ex: EUR)
1
int $id ID of Currency
1
array $request_data Request data
1
int $id Id of Currency to update
1
array $request_data Datas
1
int $id Currency ID
1
int $id Currency ID
1
array $request_data Request data
1
MultiCurrency $object Object to clean
1
MultiCurrency $object Object to clean
1
int $id Id object
1
string $code code
1
string $code currency code
1
double $rate new rate
1
DoliDB $dbs object db
1
string $code code value search
1
DoliDB $dbs Object db
1
string $code Code value search
1
integer|string $date_document Date from document (propal, order, invoice, ...)
1
int $fk_facture Id of invoice
1
double $amount amount to convert
1
string $way 'dolibarr' mean the amount is in dolibarr currency
1
string $table 'facture' or 'facture_fourn'
1
float|null $invoice_rate Invoice rate if known (to avoid to make the getInvoiceRate call)
1
int $fk_facture id of facture
1
string $table facture or facture_fourn
1
stdClass $TRate Object containing all currencies rates
1
string $key Key to use. Come from getDolGlobalString("MULTICURRENCY_APP_ID")
1
int $addifnotfound Add if not found
1
string $mode "" for standard use, "cron" to use it in a cronjob
1
string $code current code to search
1
User $user User making the deletion
1
int $fk_multicurrency Id of currency
1
int $notrigger 0=launch triggers after, 1=disable triggers
1
int $maxlength Max length of ref
1
int $notooltip 1=Disable tooltip
1
int $id id du contrat a charger
1
int $status Status of lines to get
1
string $option 'all' or 'others'
1
array $status sort contracts having these status
1
array $product_categories sort contracts containing these product categories
1
array $line_status sort contracts where lines have these status
1
User $user Object user
1
string $mode "inactive" pour services a activer, "expired" pour services expires
1
User $user User making the clone
1
int $socid Id of thirdparty
1
int $notrigger 1=Does not execute triggers, 0= execute triggers
1
int $thirdparty_id Thirdparty id
1
int $delayindaysshort To renew the resources x day before (positive value) or after (negative value) the end of date (default is 0)
1
int $expired 0=Not expired, 1=Expired, -1=Both or unknown
1
string $moreatt More attribute
1
int $maxlength Max length
1
string $ref Ref of contract line
1
int $end1 the ending index for the first sequence
1
int $end2 the ending index for the second sequence
1
int $notrigger Set to 1 if you don't want triggers to be fired
1
User $user Object User who activate contract
1
int $date Date real activation
1
int|string $date_end Date planned end. Use '-1' to keep it unchanged.
1
string $comment A comment typed by user
1
User $user Object User who close contract
1
int $date_end_real Date end
1
string $comment A comment typed by user
1
int $notrigger 1=Does not execute triggers, 0=Execute triggers
1
int $id ID of contract
1
string $thirdparty_ids Thirdparty ids to filter contracts of (example '1' or '1,2,3') {@pattern /^[0-9,]*$/i}
1
int $id Id of contract
1
string $dateend {@from body} Date end {@type timestamp}
1
int $id Id of contract to update
1
int $id Id of contract to update
1
int $id Contract ID
1
int $id object ID
1
string $mode 'O' for create, R for regenerate (Look always 0 meant toujours 0 within the framework of XML exchanges according to documentation)
1
string $type Declaration type by default - introduction or expedition (always 'expedition' for Des)
1
string $period_reference Period of reference
1
int $period_year Year of declaration
1
int $period_month Month of declaration
1
string $type_declaration Declaration type by default - 'introduction' or 'expedition' (always 'expedition' for Des)
1
string $type Declaration type by default - 'introduction' or 'expedition' (always 'expedition' for Des)
1
int $period_reference Reference period
1
string $exporttype 'deb' for DEB, 'des' for DES
1
string $type Declaration type by default - introduction or expedition (always 'expedition' for Des)
1
int $period_reference Reference declaration
1
string $exporttype deb=DEB, des=DES
1
string $code_douane_spe Specific customs authorities code
1
array $TLinesFraisDePort Data of shipping costs line
1
string $type Declaration type by default - introduction or expedition (always 'expedition' for Des)
1
Categorie $categ_fraisdeport category of shipping costs
1
int $i Line Id
1
string $number Number to verify / convert
1
string $content_xml Content
1
User $user Object User who activate contract
1
int $line_id Id of line to activate
1
int $date_start Opening date
1
int|string $date_end Expected end date
1
User $user Object User who close contract
1
int $line_id Id of line to close
1
int $date_end End date
1
int|string $date_start Date start (now if empty)
1
int|string $date_end Date end
1
string $force_number Reference to force on contract (not implemented yet)
1
int $notrigger 1=Does not execute triggers, 0=execute triggers
1
int $notrigger 0=launch triggers after, 1=disable triggers
1
int $id Id object
1
string $numsurvey Ref of survey (admin or not)
1
int $id Id of contract to load
1
string $ref Ref
1
string $ref_customer Customer ref
1
string $ref_supplier Supplier ref
1
int $only_services 0=Default for all, 1=Force only services (depending on setup, we may also have physical products in a contract)
1
int $loadalsotranslation 0=Default to not load translations, 1=Load also translations of product descriptions
1
int $noextrafields 0=Default to load extrafields, 1=Do not load the extrafields of lines
1
User $user User that modifies
1
int $notrigger 0=launch triggers after, 1=disable triggers
1
User $user User that deletes
1
int $notrigger 0=launch triggers after, 1=disable triggers
1
string $numsondage Num sondage admin to delete
1
User $user User that deletes
1
float $pu_ht Unit price net
1
float $qty Quantity
1
float $txtva Vat rate
1
float $txlocaltax1 Local tax 1 rate
1
float $txlocaltax2 Local tax 2 rate
1
int $fk_product Id produit
1
float $remise_percent Percentage discount of the line
1
int $date_start Date de debut prevue
1
int $date_end Date de fin prevue
1
int $rowid Id de la ligne de facture
1
string $desc Description de la ligne
1
float $pu Prix unitaire
1
float $qty Quantite
1
float $remise_percent Percentage discount of the line
1
int $date_start Date de debut prevue
1
int $date_end Date de fin prevue
1
float $tvatx Taux TVA
1
float $localtax1tx Local tax 1 rate
1
float $localtax2tx Local tax 2 rate
1
int|string $date_start_real Date de debut reelle
1
int|string $date_end_real Date de fin reelle
1
string $comment Comment content
1
string $comment_user Comment author
1
string $user_ip Comment author IP
1
int $id_comment Id of the comment
1
int $mode 0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=Short label + Picto, 6=Long label + Picto, 7=Same than 6 with fixed length
1
int $status Id status
1
int $mode 0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label (status of services), 5=Short label + Picto, 6=Long label + Picto (status of services), 7=Same than 6 with fixed length (status of services)
1
string $ref Ref object
1
int|string $user_id ID of user to list, or comma separated list of IDs of users to list
1
string $order Sort order
1
string $filter SQL Filter
1
string $order Sort order
1
string $filter SQL Filter
1
User $user User that validate
1
User $user User that approve
1
int $fk_user Id user
1
integer $dateStart Start date of period to check
1
integer $dateEnd End date of period to check
1
int $halfday Tag to define how start and end the period to check:
1
int $fk_user Id user
1
integer $timestamp Time stamp date for a day (YYYY-MM-DD) without hours (= 12:00AM in english and not 12:00PM that is 12:00)
1
string $status Filter on holiday status. '-1' = no filter.
1
int $withpicto 0=_No picto, 1=Includes the picto in the linkn, 2=Picto only
1
int $save_lastsearch_value -1=Auto, 0=No save of lastsearch_values when clicking, 1=Save lastsearch_values whenclicking
1
int $notooltip 1=Disable tooltip
1
string $morecss Add more css on link
1
int $status Id status
1
int|string $startdate Date holiday should start
1
int $selected Id of preselected status
1
string $htmlname Name of HTML select field
1
string $morecss More CSS on select component
1
string $name name du paramètre de configuration
1
string $value vrai si mise à jour OK sinon faux
1
string $name Name of parameter
1
string $createifnotfound 'stringvalue'=Create entry with string value if not found. For example 'YYYYMMDDHHMMSS'.
1
int $userID Id of user
1
float $nbHoliday Nb of days
1
int $fk_type Type of vacation
1
boolean $single Single
1
int $userid Id user
1
int $user_id User ID
1
int $fk_type Filter on type
1
boolean $stringlist If true return a string list of id. If false, return an array with detail.
1
boolean $type If true, read Dolibarr user list, if false, return vacation balance list.
1
string $filters Filters. Warning: This must not contains data from user input.
1
int $userDolibarrWithoutCP Number of active users in Dolibarr without holidays
1
int $userCP Number of active users into table of holidays
int $notrigger 1 ne declenche pas les triggers, 0 sinon
1
int $nosyncuser 0=Synchronize linked user (standard info), 1=Do not synchronize linked user
1
int $nosyncuserpass 0=Synchronize linked user (password), 1=Do not synchronize linked user
1
int $nosyncthirdparty 0=Synchronize linked thirdparty (standard info), 1=Do not synchronize linked thirdparty
1
string $action Current action for hookmanager
1
User $user User making change
1
User $user Object user de l'utilisateur qui fait la modification
1
string $password New password (to generate if empty)
1
int $isencrypted 0 ou 1 if the password needs to be encrypted in the DB (default: 0)
1
int $notrigger 1=Does not raise the triggers
1
int $nosyncuser Do not synchronize linked user
1
int $userid Id of user to link to
1
int $thirdpartyid Id of user to link to
1
string $login login of member
1
string $firstname Firstname
1
string $lastname Lastname
1
int $rowid Id of object to load
1
string $ref To load member from its ref
1
int $fk_soc To load member from its link to third party
1
string $ref_ext External reference
1
bool $fetch_optionals To load optionals (extrafields)
1
bool $fetch_subscriptions To load member subscriptions
1
int $date Date of effect of subscription
1
double $amount Amount of subscription (0 accepted for some members)
1
int $accountid Id bank account. NOT USED.
1
string $operation Code of payment mode (if Id bank account provided). Example: 'CB', ... NOT USED.
1
string $label Label operation (if Id bank account provided).
1
string $num_chq Numero cheque (if Id bank account provided)
1
string $emetteur_nom Name of cheque writer
1
string $emetteur_banque Name of bank of cheque
1
int $datesubend Date end subscription
1
int $fk_type Member type id
1
int $subscriptionid Id of created subscription
1
string $option Which action ('bankdirect', 'bankviainvoice', 'invoiceonly', ...)
1
int $accountid Id bank account
1
int $datesubscription Date of subscription
1
int $paymentdate Date of payment
1
string $operation Code of type of operation (if Id bank account provided). Example 'CB', ...
1
string $label Label operation (if Id bank account provided)
1
double $amount Amount of subscription (0 accepted for some members)
1
string $num_chq Numero cheque (if Id bank account provided)
1
string $emetteur_nom Name of cheque writer
1
string $emetteur_banque Name of bank of cheque
1
int $autocreatethirdparty Auto create new thirdparty if member not yet linked to a thirdparty and we request an option that generate invoice.
1
string $ext_payment_id External id of payment (for example Stripe charge id)
1
string $ext_payment_site Name of external paymentmode (for example 'stripe')
1
User $user user adherent qui valide
1
int $withpictoimg 0=No picto, 1=Include picto into link, 2=Only picto, -1=Include photo into link, -2=Only picto photo, -3=Only photo very small)
1
string $option Page for link ('card', 'category', 'subscription', ...)
1
string $mode ''=Show firstname+lastname as label (using default order), 'firstname'=Show only firstname, 'lastname'=Show only lastname, 'login'=Show login, 'ref'=Show ref
1
int $addlinktonotes 1=Add link to notes
1
int $status Id status
1
int $need_subscription 1 if member type need subscription, 0 otherwise
1
int $date_end_subscription Date fin adhesion
1
int $mode 0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=Short label + Picto, 6=Long label + Picto
1
string $mode "expired" for membership to renew, "shift" for member to validate
1
int $id Id of member to load
1
string $daysbeforeendlist Nb of days before end of subscription (negative number = after subscription). Can be a list of delay, separated by a semicolon, for example '10;5;0;-5'
1
string $langtodelete Language code to delete
1
User $user Object user making delete
1
User $user User making creation
1
User $user Object user making change
1
int $rowid Id of member type to load
1
string $excludefilter Filter to exclude. This value must not come from a user input.
1
int $mode 0=Return array of member instance
1
int $id ID of member
1
int $thirdparty ID of third party
1
string $email Email of third party
1
string $barcode Barcode of third party
1
string $typeid ID of the type of member
1
string $sqlfilters Other criteria to filter answers separated by a comma.
1
int $id ID of member to update
1
int $id member ID
1
Object $object Object to clean
1
int $id ID of member
1
int $id ID of member
1
string $start_date Start date {@from body} {@type timestamp}
1
string $end_date End date {@from body} {@type timestamp}
1
float $amount Amount (may be 0) {@from body}
1
string $label Label {@from body}
1
int $id ID of member
1
int $id ID of member type
1
string $sqlfilters Other criteria to filter answers separated by a comma. Syntax example "(t.libelle:like:'SO-%') and (t.subscription:=:'1')"
1
int $id ID of member type to update
1
int $id member type ID
1
User $user User that create
1
int $notrigger 0=launch triggers after, 1=disable triggers
1
int $rowid Id subscription
1
User $user User who updated
1
int $notrigger 0=Disable triggers
1
string $option Page for link ('', 'nolink', ...)
1
int $id Id subscription
1
string $resok resultat si test equal
1
string $resko resultat si test non equal
1
string $line SQL request line to convert
1
string $type Type of SQL order ('ddl' for insert, update, select, delete or 'dml' for create, alter...)
1
resource $resultset Curseur de la requete voulue
1
string $stringtoencode String to escape
1
string $tab Table name concerned by insert. Ne sert pas sous MySql mais requis pour compatibilite avec Postgresql
1
string $query SQL query string
1
int $usesavepoint 0=Default mode, 1=Run a savepoint before and a rollback to savepoint if error (this allow to have some request with errors inside global transactions).
1
string $type Type of SQL order ('ddl' for insert, update, select, delete or 'dml' for create, alter...)
1
int $result_mode Result mode
1
string $sql query string
1
string $resql query result
1
string $host database server host
1
string $login login
1
string $passwd password
1
string $name name of database (not used for mysql, used for pgsql)
1
int $port Port of database server
1
resource $resultset Resulset of requests
1
string $primary_key Nom du champ qui sera la clef primaire
1
string $type Type de la table
1
array $unique_keys Tableau associatifs Nom de champs qui seront clef unique => valeur
1
array $fulltext_keys Tableau des Nom de champs qui seront indexes en fulltext
1
array $keys Tableau des champs cles noms => valeur
1
array{type:string,label:string,enabled:int|string,position:int,notnull?:int,visible:int,noteditable?:int,default?:string,index?:int,foreignkey?:string,searchall?:int,isameasure?:int,css?:string,csslist?:string,help?:string,showoncombobox?:int,disabled?:int,arrayofkeyval?:array,comment?:string} $field_desc Tableau associatif de description du champ a inserer[nom du parameter][valeur du parameter]
array{type:string,label:string,enabled:int|string,position:int,notnull?:int,visible:int,noteditable?:int,default?:string,index?:int,foreignkey?:string,searchall?:int,isameasure?:int,css?:string,csslist?:string,help?:string,showoncombobox?:int,disabled?:int,arrayofkeyval?:array,comment?:string} $field_desc Array with description of field format
1
string $field Optionnel : Name of field if we want description of field
1
string $dolibarr_main_db_host Ip serveur
1
string $dolibarr_main_db_user Nom user a creer
1
string $dolibarr_main_db_pass Password user a creer
1
resource $resultset Fre cursor
1
resource|PgSql\Connection $resultset Handler of the desired SQL request
1
string $database Name of database
1
string $baseUrl Base url
1
string $basePath Base path
1
string $name The name used by this collector widget.
1
int $severity Error type.
1
string $message Message of error.
1
string $fileName File where error is generated.
1
int $line Line number where error is generated.
1
int $type Error code.
1
string $path Path
1
string $name Name
1
string $path Path
1
string $file File
1
int $lines Lines
1
string $file File
1
mixed $obj Object
1
string $action Code action
1
User $user Object user that create
1
int $id Id of contact/address to update
1
int $notrigger 0=no, 1=yes
1
string $action Current action for hookmanager
1
int $nosyncuser No sync linked user (external users and contacts are linked)
1
array $info Info string loaded by _load_ldap_info
1
int $id Id of contact
1
User $user User asking to change alert or birthday
1
int $notrigger 0=no, 1=yes
1
int $id Id of contact
1
?User $user Load also alerts of this user (subscribing to alerts) that want alerts about this contact
1
string $ref_ext External reference, not given by Dolibarr
1
string $email Email
1
int $loadalsoroles Load also roles. Try to always 0 here and load roles with a separate call of fetchRoles().
1
User $user User making the delete
1
int $notrigger Disable all trigger
1
int $id Id of the contact to load
1
int $withpicto Include picto with link (1=picto + name, 2=picto only, -1=photo+name, -2=photo only)
1
string $option Where the link point to
1
int $maxlen Max length of
1
string $moreparam Add more param into URL
1
int $notooltip 1=Disable tooltip
1
string $morecss Add more css on link
1
int $status Type (0 = public, 1 = private)
1
string $element Element type
1
User $user User who defines the discount
1
int|string $statut Id or code for prospection status
1
User|null $user User that modify
1
double $capital Capital
1
double $rate rate
1
int $nbterm nb term
1
int $loanid Id object
1
int $loanid Loan id
1
int $loanid Loan id
1
int $datemax Date max
1
int $id id object
1
User $user User making creation
1
User $user Object user making delete
1
User $user User who modified
1
int $mode 0=label, 1=short label, 2=Picto + Short label, 3=Picto, 4=Picto + Label
1
int $mode 0=Label, 1=Short label, 2=Picto + Short label, 3=Picto, 4=Picto + Label, 5=Short label + Picto
1
int $maxlen Label max length
1
string $option On what the link point to ('nolink', ...)
1
int $id Id of record
1
int $status Statut
1
int $fk_loan Id of fk_loan to do link with this payment
1
string $mode 'payment_loan'
1
int $withpicto 0=No picto, 1=Include picto into link, 2=No picto
1
int $maxlen Max length label
1
User $user User that creates //not used
1
int $fk_combination ID of the ProductCombination
1
int $fk_combination ID of the ProductCombination
1
int $id Attribute id
1
User $user User who updates the attribute
1
0|1 $notrigger 1 = Do not execute trigger (0 by default)
1
string $filters Filter on other fields
1
string $filters Filter on other fields
1
int $position Position of line
1
int $lineid Id of line
1
array $rows Array of rows
1
int $selected Object line selected
1
int $addcreateline 1=Add create line
1
string $var Is it a an odd line (true)
1
int $selected Object line selected
1
int $rowid ID of the ProductCombination
1
int $fk_price_level The price level to fetch, use 0 for all
1
bool $useCache To use cache or not
1
int $clean Levels of PRODUIT_MULTIPRICES_LIMIT
1
int $productid Product ID of variant
1
int $donotloadpricelevel Avoid loading price impact for each level. If PRODUIT_MULTIPRICES is not set, this has no effect.
1
int $fk_product_parent Rowid of parent product
1
bool $sort_by_ref Sort result by product child reference
1
int $fk_product_parent Id of parent product
1
User $user Object user
1
int $fk_product_parent Rowid of parent product
1
Product $parent Parent product
1
int $prodid Id of parent product
1
array $features Format: [$attr] => $attr_val
1
int $productid Parent Product rowid
1
User $user Object user
1
Product $product Parent product
1
array $combinations Attribute and value combinations.
1
array> $variations Price and weight variations
1
bool|array $price_var_percent Is the price variation a relative variation?
1
bool|float $forced_pricevar If the price variation is forced
1
bool|float $forced_weightvar If the weight variation is forced
1
bool|string $forced_refvar If the reference is forced
1
string $ref_ext External reference
1
int $origProductId Origin product id
1
Product $destProduct Destination product
1
int $prod_child id of child
1
int $rowid Row id
1
int $fk_product_attribute_combination Id of product combination
1
int $fk_price_level The price level to fetch, use 0 for all
int<0,1> $returnonlydata 0: return object, 1: return only data
1
User $user Object user
1
int $rowid Id
1
string $ref ref
1
User $user making insert
1
string $period Period : 'lastmonth', 'currentmonth', 'last3months', 'last6months', 'currentyear', 'lastyear', 'fiscalyear', 'lastfiscalyear', 'actualandlastfiscalyear' or 'custom' (see above)
1
string $date_min [=''] Start date of period if 'custom' is set in period parameter
1
string $date_max [=''] End date of period if 'custom' is set in period parameter
1
string $format [=''] by default uses '1' for 'Configurable (CSV)' for format number
1
int $lettering [=0] by default don't export or 1 to export lettering data (columns 'letterring_code' and 'date_lettering' returns empty or not)
1
int $alreadyexport [=0] by default export data only if it's not yet exported or 1 already exported (always export data even if 'date_export" is set)
1
int $notnotifiedasexport [=0] by default notified as exported or 1 not notified as exported (when the export is done, notified or not the column 'date_export')
1
int $rowid Id
1
string|null $account_number Account number
1
int|boolean $limittocurrentchart 1 or true=Load record only if it is into current active chart of account
1
string $limittoachartaccount 'ABC'=Load record only if it is into chart account with code 'ABC' (better and faster than previous parameter if you have chart of account code).
1
User $user User making action
1
User $user User making update
1
User $user User that deletes
1
int $notrigger 0=triggers after, 1=disable triggers
1
int $withpicto 0=No picto, 1=Include picto into link, 2=Only picto
1
int $withlabel 0=No label, 1=Include label of account
1
int $nourl 1=Disable url
1
string $moretitle Add more text to title tooltip
1
int $notooltip 1=Disable tooltip
1
int $save_lastsearch_value -1=Auto, 0=No save of lastsearch_values when clicking, 1=Save lastsearch_values whenclicking
1
int $withcompletelabel 0=Short label (field short label), 1=Complete label (field label)
float $totalonlinkedelements Sum of total amounts (excl VAT) of
1
float $object_total_ht The total amount (excl VAT) of the object
1
string $action Event action code ('CONTRACT_MODIFY', 'RECRUITMENTCANDIDATURE_MODIFIY', or example by external module: 'SENTBYSMS'...)
1
string $action Event action code
1
Ticket $object Object
1
User $user Object user
1
Translate $langs Object langs
1
conf $conf Object conf
1
string $sendto Addresses to send the mail, format "first@address.net, second@address.net," etc.
1
string $body email body (first line). Non-translated string.
1
string $sendto Addresses to send the mail, format "first@address.net, second@address.net, " etc.
1
string $body email body (first line). Non-translated string.
1
string $see_ticket string indicating the ticket public address
1
string $option status filter ('', 'validated', ...)
1
string $filtertype 1 to filter on type of payment == 'PRE'
1
int $multicurrency Return multicurrency_amount instead of amount
1
int $withbadge 1=Add span for badge css, 2=Add span and show short label
1
string $table table of invoice
1
int $mode 0=Return id+label, 1=Return code+id
1
integer $alreadypaid 0=No payment already done, >0=Some payments were already done (we recommend to put here amount paid if you have it, 1 otherwise)
1
int $paye Status field paye
1
integer $alreadypaid 0=No payment already done, >0=Some payments were already done (we recommend to put here amount paid if you have it, -1 otherwise)
1
int $type Type invoice. If -1, we use $this->type
1
int $cond_reglement Condition of payment (code or id) to use. If 0, we use current condition.
1
int $id Invoice ID with remain to pay
1
int $did ID of unitary payment request to pay
1
string $service 'StripeTest', 'StripeLive', ...
1
string $forcestripe To force another stripe env: 'cus_account@pk_...:sk_...'
1
int $id State ID
1
string $code State code
1
User $user User who updates
1
boolean $force_price True of not
1
boolean $force_price Force price
1
string $text Text of label or key to translate
1
string $htmlname Name of select field ('edit' prefix will be added)
1
string $preselected Value to show/edit (not used in this function)
1
object $object Object (on the page we show)
1
boolean $perm Permission to allow button to edit parameter. Set it to 0 to have a not edited field.
1
string $typeofdata Type of data ('string' by default, 'email', 'amount:99', 'numeric:99', 'text' or 'textarea:rows:cols', 'datepicker' ('day' do not work, don't know why), 'dayhour' or 'datehourpicker' 'checkbox:ckeditor:dolibarr_zzz:width:height:savemethod:1:rows:cols', 'select;xxx[:class]'...)
1
string $moreparam More param to add on a href URL.
1
int $fieldrequired 1 if we want to show field as mandatory using the "fieldrequired" CSS.
1
int $notabletag 1=Do not output table tags but output a ':', 2=Do not output table tags and no ':', 3=Do not output table tags but output a ' '
1
string $help Tooltip help
1
string $text Text of label (not used in this function)
1
string $value Value to show/edit
1
CommonObject $object Object (that we want to show)
1
boolean $perm Permission to allow button to edit parameter
1
string $typeofdata Type of data ('string' by default, 'checkbox', 'email', 'phone', 'amount:99', 'numeric:99',
1
string $editvalue When in edit mode, use this value as $value instead of value (for example, you can provide here a formatted price instead of numeric value, or a select combo). Use '' to use same than $value
1
?CommonObject $extObject External object ???
1
mixed $custommsg String or Array of custom messages : eg array('success' => 'MyMessage', 'error' => 'MyMessage')
1
string $moreparam More param to add on the form on action href URL parameter
1
int $notabletag Do no output table tags
1
string $formatfunc Call a specific method of $object->$formatfunc to output field in view mode (For example: 'dol_print_email')
1
string $gm 'auto' or 'tzuser' or 'tzuserrel' or 'tzserver' (when $typeofdata is a date)
1
array $moreoptions Array with more options. For example array('addnowlink'=>1), array('valuealreadyhtmlescaped'=>1)
1
string $editaction [=''] use GETPOST default action or set action to edit mode
1
string $fieldname Name of the field
1
CommonObject $object Object
1
boolean $perm Permission to allow button to edit parameter. Set it to 0 to have a not edited field.
1
string $typeofdata Type of data ('string' by default, 'email', 'amount:99', 'numeric:99', 'text' or 'textarea:rows:cols', 'datepicker' ('day' do not work, don't know why), 'ckeditor:dolibarr_zzz:width:height:savemethod:1:rows:cols', 'select;xxx[:class]'...)
1
string $check Same coe than $check parameter of GETPOST()
1
string $morecss More CSS
1
CommonObject $object Object
1
string $value Value to show/edit
1
string $htmlname DIV ID (field name)
1
int $condition Condition to edit
1
string $inputType Type of input ('string', 'numeric', 'datepicker' ('day' do not work, don't know why), 'textarea:rows:cols', 'ckeditor:dolibarr_zzz:width:height:?:1:rows:cols', 'select:loadmethod:savemethod:buttononly')
1
string $editvalue When in edit mode, use this value as $value instead of value
1
?CommonObject $extObject External object
1
mixed $custommsg String or Array of custom messages : eg array('success' => 'MyMessage', 'error' => 'MyMessage')
1
string $text Text to show
1
string $htmltext HTML content of tooltip. Must be HTML/UTF8 encoded.
1
int $tooltipon 1=tooltip on text, 2=tooltip on image, 3=tooltip on both
1
int $direction -1=image is before, 0=no image, 1=image is after
1
string $img Html code for image (use img_xxx() function to get it)
1
string $extracss Add a CSS style to td tags
1
int $notabs 0=Include table and tr tags, 1=Do not include table and tr tags, 2=use div, 3=use span
1
string $incbefore Include code before the text
1
int $noencodehtmltext Do not encode into html entity the htmltext
1
string $tooltiptrigger ''=Tooltip on hover, 'abc'=Tooltip on click (abc is a unique key)
1
int $forcenowrap Force no wrap between text and picto (works with notabs=2 only)
1
string $text Text to show
1
string $htmltext Content of tooltip
1
int $direction 1=Icon is after text, -1=Icon is before text, 0=no icon
1
string $type Type of picto ('info', 'infoclickable', 'help', 'helpclickable', 'warning', 'superadmin', 'mypicto@mymodule', ...) or image filepath or 'none'
1
string $extracss Add a CSS style to td, div or span tag
1
int $noencodehtmltext Do not encode into html entity the htmltext
1
int $notabs 0=Include table and tr tags, 1=Do not include table and tr tags, 2=use div, 3=use span
1
string $tooltiptrigger ''=Tooltip on hover and hidden on smartphone, 'abconsmartphone'=Tooltip on hover and on click on smartphone, 'abc'=Tooltip on click (abc is a unique key, clickable link is on image or on link if param $type='none' or on both if $type='xxxclickable')
1
int $forcenowrap Force no wrap between text and picto (works with notabs=2 only)
1
string $selected Value auto selected when at least one record is selected. Not a preselected value. Use '0' by default.
1
array $arrayofaction array('code'=>'label', ...). The code is the key stored into the GETPOST('massaction') when submitting action.
1
int $alwaysvisible 1=select button always visible
1
string $name Name for massaction
1
string $cssclass CSS class used to check for select
1
string $selected Id or Code or Label of preselected country
1
string $htmlname Name of html select object
1
string $htmloption More html options on select object
1
integer $maxlength Max length for labels (0=no limit)
1
string $morecss More css class
1
string $usecodeaskey ''=Use id as key (default), 'code3'=Use code on 3 alpha as key, 'code2"=Use code on 2 alpha as key
1
int<0,1>|string $showempty Show empty choice
1
int<0,1> $disablefavorites 1=Disable favorites,
1
int<0,1> $addspecialentries 1=Add dedicated entries for group of countries (like 'European Economic Community', ...)
1
string[] $exclude_country_code Array of country code (iso2) to exclude
1
int<0,1> $hideflags Hide flags
1
string $selected Id or Code of preselected incoterm
1
string $location_incoterms Value of input location
1
string $page Defined the form action
1
string $htmlname Name of html select object
1
string $htmloption Options html on select object
1
int<0,1> $forcecombo Force to load all values and output a standard combobox (with no beautification)
1
array}> $events Event options to run on change. Example: array(array('method'=>'getContacts', 'url'=>dol_buildpath('/core/ajax/contacts.php',1), 'htmlname'=>'contactid', 'params'=>array('add-customer-contact'=>'disabled')))
int $hidetext Do not show label 'Type' before combo box (used only if there is at least 2 choices to select)
1
integer $forceall 1=Force to show products and services in combo list, whatever are activated modules, 0=No force, 2=Force to show only Products, 3=Force to show only services, -1=Force none (and set hidden field to 'service')
1
string $morecss More css
1
string $selected Preselected type
1
string $htmlname Name of field in form
1
int $showempty Add an empty field
1
int|string $selected Preselected ID
1
string $htmlname Name of field in form
1
string $filter Optional filters criteras. WARNING: To avoid SQL injection, only few chars [.a-z0-9 =<>()] are allowed here. Example: ((s.client:IN:1,3) AND (s.status:=:1)). Do not use a filter coming from input of users.
1
string|int<1,1> $showempty Add an empty field (Can be '1' or text key to use on empty line like 'SelectThirdParty')
1
int $showtype Show third party type in combolist (customer, prospect or supplier)
1
int $forcecombo Force to load all values and output a standard combobox (with no beautification)
1
array}> $events Ajax event options to run on change. Example: array(array('method'=>'getContacts', 'url'=>dol_buildpath('/core/ajax/contacts.php',1), 'htmlname'=>'contactid', 'params'=>array('add-customer-contact'=>'disabled')))
1
int $limit Maximum number of elements
1
string $morecss Add more css styles to the SELECT component
1
string $moreparam Add more parameters onto the select tag. For example 'style="width: 95%"' to avoid select2 component to go over parent container
1
string $selected_input_value Value of preselected input text (for use with ajax)
bool $multiple add [] in the name of element and add 'multiple' attribute (not working with ajax_autocompleter)
1
string[] $excludeids Exclude IDs from the select combo
1
int<0,1> $showcode Show code
1
int $socid Id of third party or 0 for all or -1 for empty list
1
int|string $selected ID of preselected contact id
1
string $htmlname Name of HTML field ('none' for a not editable field)
1
int<0,3>|string $showempty 0=no empty value, 1=add an empty value, 2=add line 'Internal' (used by user edit), 3=add an empty value only if more than one record into list
1
string $exclude List of contacts id to exclude
1
string $limitto Not used
1
integer $showfunction Add function into label
1
string $morecss Add more class to class style
1
bool $nokeyifsocid When 1, we force the option "Press a key to show list" to 0 if there is a value for $socid
1
integer $showsoc Add company into label
1
int $forcecombo 1=Force to use combo box (so no ajax beautify effect)
1
string $moreparam Add more parameters onto the select tag. For example 'style="width: 95%"' to avoid select2 component to go over parent container
1
string $htmlid Html id to use instead of htmlname
1
string $selected_input_value Value of preselected input text (for use with ajax)
1
string $filter Optional filters criteras. WARNING: To avoid SQL injection, only few chars [.a-z0-9 =<>()] are allowed here. Example: ((s.client:IN:1,3) AND (s.status:=:1)). Do not use a filter coming from input of users.
1
string $selected Preselected type
1
string $htmlname Name of field in form
1
string $filter Optional filters criteras. WARNING: To avoid SQL injection, only few chars [.a-z0-9 =<>] are allowed here, example: 's.rowid <> x'
1
string|int<0,1> $showempty Add an empty field (Can be '1' or text to use on empty line like 'SelectThirdParty')
1
int<0,1> $showtype Show third party type in combolist (customer, prospect or supplier)
1
int $forcecombo Force to use standard HTML select component without beautification
string $morecss Add more css styles to the SELECT component
1
string $moreparam Add more parameters onto the select tag. For example 'style="width: 95%"' to avoid select2 component to go over parent container
1
string[] $excludeids Exclude IDs from the select combo
1
int<0,1> $showcode Show code in list
1
int $socid Id of third party or 0 for all or -1 for empty list
1
array|int|string $selected Array of ID of preselected contact id
1
string $htmlname Name of HTML field ('none' for a not editable field)
1
int<0,3>|string $showempty 0=no empty value, 1=add an empty value, 2=add line 'Internal' (used by user edit), 3=add an empty value only if more than one record into list
1
string $exclude List of contacts id to exclude
1
string $limitto Disable answers that are not id in this array list
1
integer $showfunction Add function into label
1
string $morecss Add more class to class style
1
int $options_only 1=Return options only (for ajax treatment), 2=Return array
1
integer $showsoc Add company into label
1
int $forcecombo Force to use combo box (so no ajax beautify effect)
1
string $moreparam Add more parameters onto the select tag. For example 'style="width: 95%"' to avoid select2 component to go over parent container
1
string $htmlid Html id to use instead of htmlname
1
bool $multiple add [] in the name of element and add 'multiple' attribute
1
integer $disableifempty Set tag 'disabled' on select if there is no choice
1
string $filter Optional filters criteras. WARNING: To avoid SQL injection, only few chars [.a-z0-9 =<>] are allowed here, example: 's.rowid <> x'
1
string $selected Id Fixed reduction preselected
1
string $htmlname Name of the form field
1
string $filter Optional filter critreria
1
int $maxvalue Max value for lines that can be selected
1
string $selected Id user preselected
1
string $htmlname Field name in form
1
int<0,1> $show_empty 0=liste sans valeur nulle, 1=ajoute valeur inconnue
1
int[] $exclude Array list of users id to exclude
1
int<0,1> $disabled If select list must be disabled
1
int[]|string $include Array list of users id to include. User '' for all users or 'hierarchy' to have only supervised users or 'hierarchyme' to have supervised + me
1
int[]|int $enableonly Array list of users id to be enabled. All other must be disabled
1
string $force_entity '0' or Ids of environment to force
1
string|int|User $selected User id or user object of user preselected. If 0 or < -2, we use id of current user. If -1 or '', keep unselected (if empty is allowed)
1
string $htmlname Field name in form
1
int<0,1>|string $show_empty 0=list with no empty value, 1=add also an empty value into list
1
int[]|null $exclude Array list of users id to exclude
1
int $disabled If select list must be disabled
1
int[]|string $include Array list of users id to include. User '' for all users or 'hierarchy' to have only supervised users or 'hierarchyme' to have supervised + me
1
array|string $enableonly Array list of users id to be enabled. If defined, it means that others will be disabled
1
string $force_entity '0' or list of Ids of environment to force, separated by a coma, or 'default' = do no extend to all entities allowed to superadmin.
1
int $maxlength Maximum length of string into list (0=no limit)
1
int<-1,1> $showstatus 0=show user status only if status is disabled, 1=always show user status into label, -1=never show user status
1
string $morefilter Add more filters into sql request (Example: 'employee = 1'). This value must not come from user input.
1
integer $show_every 0=default list, 1=add also a value "Everybody" at beginning of list
1
string $enableonlytext If option $enableonlytext is set, we use this text to explain into label why record is disabled. Not used if enableonly is empty.
1
string $morecss More css
1
int<0,1> $notdisabled Show only active users (this will also happened whatever is this option if USER_HIDE_INACTIVE_IN_COMBOBOX is on).
int<0,1> $nooutput No print if 1, return the output into a string
1
int<-1,1> $status_purchase Purchase status: -1=No filter on purchase status, 0=Products not on purchase, 1=Products on purchase
1
string $selected Preselected BOM id
1
string $htmlname Name of HTML select field (must be unique in page).
1
int $limit Limit on number of returned lines
1
int $status Sell status -1=Return all bom, 0=Draft BOM, 1=Validated BOM
1
int $type type of the BOM (-1=Return all BOM, 0=Return disassemble BOM, 1=Return manufacturing BOM)
1
string $morecss Add more css on select
1
string $nooutput No print, return the output into a string
1
int $forcecombo Force to use combo box
1
string[] $TProducts Add filter on a defined product
1
int $selected Preselected product
1
string $htmlname Name of select html
1
string $filtertype Filter on product type (''=nofilter, 0=product, 1=service)
1
int $limit Limit on number of returned lines
1
int $price_level Level of price to show
1
string $filterkey Filter on product
1
int $status -1=Return all products, 0=Products not on sell, 1=Products on sell
1
int $finished Filter on finished field: 2=No filter
1
int $outputmode 0=HTML select string, 1=Array
1
int $socid Thirdparty Id (to get also price dedicated to this customer)
1
string|int<0,1> $showempty '' to not show empty line. Translation key to show an empty line. '1' show empty line with no text.
1
int $forcecombo Force to use combo box
1
string $morecss Add more css on select
1
int $hidepriceinlabel 1=Hide prices in label
1
string $warehouseStatus Warehouse status filter to group/count stock. Following comma separated filter options can be used.
1
int $status_purchase Purchase status -1=Return all products, 0=Products not on purchase, 1=Products on purchase
1
stdClass $objp Resultset of fetch
1
array{key:string,value:string,label:string,label2:string,desc:string,type:string,price_ht:string,price_ttc:string,price_ht_locale:string,price_ttc_locale:string,pricebasetype:string,tva_tx:string,default_vat_code:string,qty:string,discount:string,duration_value:string,duration_unit:string,pbq:string,labeltrans:string,desctrans:string,ref_customer:string} $optJson Option (var used for returned value in json format)
1
int $price_level Price level
1
int $selected Preselected value
1
int<0,1> $hidepriceinlabel Hide price in label
1
int<0,1> $novirtualstock Do not load virtual stock, even if slow option STOCK_SHOW_VIRTUAL_STOCK_IN_PRODUCTS_COMBO is on.
1
int $socid Id third party
1
string $selected Preselected product
1
string $htmlname Name of HTML Select
1
string $filtertype Filter on product type (''=nofilter, 0=product, 1=service)
1
string $filtre For a SQL filter
1
array $ajaxoptions Options for ajax_autocompleter
1
int<0,1> $hidelabel Hide label (0=no, 1=yes)
1
int<0,1> $alsoproductwithnosupplierprice 1=Add also product without supplier prices
1
string $placeholder Placeholder
1
int $socid Id of supplier thirdparty (0 = no filter)
1
string $selected Product price preselected (must be 'id' in product_fournisseur_price or 'idprod_IDPROD')
1
string $filtertype Filter on product type (''=nofilter, 0=product, 1=service)
1
string $filtre Generic filter. Data must not come from user input.
1
string $filterkey Filter of produdts
1
int $statut -1=Return all products, 0=Products not on buy, 1=Products on buy
1
int $limit Limit of line number
1
int $alsoproductwithnosupplierprice 1=Add also product without supplier prices
1
string $morecss Add more CSS
1
int $showstockinlist Show stock information (slower).
1
int $productid Id of product
1
string $htmlname Name of HTML field
1
int $selected_supplier Pre-selected supplier if more than 1 result
1
string $selected Id du type de delais pre-selectionne
1
string $htmlname Nom de la zone select
1
string $filtertype To add a filter
1
int $addempty Add empty entry
1
string $morecss More CSS
1
string $selected Id or code of type origin to select by default
1
string $htmlname Nom de la zone select
1
string $exclude To exclude a code value (Example: SRC_PROP)
1
string $morecss Add more css to the HTML select component
1
int $notooltip Do not show the tooltip for admin
1
int $noprint if set to one we return the html to print, if 0 (default) we print it
1
string $selected Id or code or preselected payment mode
1
string $filtertype To filter on field type in llx_c_paiement ('CRDT' or 'DBIT' or array('code'=>xx,'label'=>zz))
1
int $format 0=id+label, 1=code+code, 2=code+label, 3=id+code
1
int $empty 1=can be empty, 0 otherwise
1
int $noadmininfo 0=Add admin info, 1=Disable admin info
1
int $maxlength Max length of label
1
int $active Active or not, -1 = all
1
string $morecss Add more CSS on select tag
1
string $selected Id pre-selectionne
1
int $addjscombo Add js combo
1
string $selected Id of the transport mode preselected
1
string $htmlname Name of the select field
1
int $format 0=id+label, 1=code+code, 2=code+label, 3=id+code
1
int $empty 1=can be empty, 0 else
1
int $maxlength Max length of label
1
string $selected Id shipping mode preselected
1
int $useempty 1=Add an empty value in list, 2=Add an empty value in list only if there is more than 2 entries.
1
int $noinfoadmin 0=Add admin info, 1=Disable admin info
1
string $selected Id of shipping mode
1
int $addempty 1=Add an empty value in list, 2=Add an empty value in list only if there is more than 2 entries.
1
string $selected Preselected ID
1
int $socid Company ID
1
string $selected Preselected Unit ID
1
string $htmlname Select name
1
int<0,1> $showempty Add an empty line
1
string $unit_type Restrict to one given unit type
1
int|string $selected Id account preselected
1
string $htmlname Name of select zone
1
int $status Status of searched accounts (0=open, 1=closed, 2=both)
1
string $filtre To filter the list. This parameter must not come from input of users
1
int $useempty 1=Add an empty value in list, 2=Add an empty value in list only if there is more than 2 entries.
1
string $moreattrib To add more attribute on select
1
int $showcurrency Show currency in label
1
string $morecss More CSS
1
int $nooutput 1=Return string, do not send to output
1
string $selected Id establishment preselected
1
int $status Status of searched establishment (0=open, 1=closed, 2=both)
1
int $useempty 1=Add an empty value in list, 2=Add an empty value in list only if there is more than 2 entries.
1
string $selected Id of bank account
1
string $htmlname Name of select html field
1
int $addempty 1=Add an empty value in list, 2=Add an empty value in list only if there is more than 2 entries.
1
string|int $type Type of category ('customer', 'supplier', 'contact', 'product', 'member'). Old mode (0, 1, 2, ...) is deprecated.
1
string $selected Id of category preselected or 'auto' (autoselect category if there is only one element). Not used if $outputmode = 1.
1
string $htmlname HTML field name
1
int $maxlength Maximum length for labels
1
int|string|array $fromid Keep only or Exclude (depending on $include parameter) all categories (including the leaf $fromid) into the tree after this id $fromid.
1
int<0,3> $outputmode 0=HTML select string, 1=Array with full label only, 2=Array extended, 3=Array with full picto + label
1
int<0,1> $include [=0] Removed or 1=Keep only
1
string $morecss More CSS
1
int<0,2> $useempty 0=No empty value, 1=Add an empty value in list, 2=Add an empty value in list only if there is more than 2 entries. Default is 1.
1
string $page Url of page to call if confirmation is OK
1
string $title Title
1
string $question Question
1
string $action Action
1
array{text:string}|array $formquestion An array with complementary inputs to add into forms: array(array('label'=> ,'type'=> , 'size'=>, 'morecss'=>, 'moreattr'=>'autofocus' or 'style=...'))
1
string $selectedchoice "" or "no" or "yes"
1
int|string $useajax 0=No, 1=Yes use Ajax to show the popup, 2=Yes and also submit page with &confirm=no if choice is No, 'xxx'=Yes and preoutput confirm box with div id=dialog-confirm-xxx
1
int $height Force height of box
1
int $width Force width of box
1
string $page Url of page to call if confirmation is OK. Can contains parameters (param 'action' and 'confirm' will be reformatted)
1
string $title Title
1
string $question Question
1
string $action Action
1
array}>|string|null $formquestion An array with complementary inputs to add into forms: array(array('label'=> ,'type'=> , 'size'=>, 'morecss'=>, 'moreattr'=>'autofocus' or 'style=...'))
1
int<0,1>|''|'no'|'yes'|'1'|'0' $selectedchoice '' or 'no', or 'yes' or '1', 1, '0' or 0
1
int<0,2>|string $useajax 0=No, 1=Yes use Ajax to show the popup, 2=Yes and also submit page with &confirm=no if choice is No, 'xxx'=Yes and preoutput confirm box with div id=dialog-confirm-xxx
1
int|string $height Force height of box (0 = auto)
1
int $width Force width of box ('999' or '90%'). Ignored and forced to 90% on smartphones.
1
int $disableformtag 1=Disable form tag. Can be used if we are already inside a
1
string $labelbuttonyes Label for Yes
1
string $labelbuttonno Label for No
1
int $socid Id third party (-1=all, 0=only projects not linked to a third party, id=projects not linked or linked to third party id)
1
string $selected Id preselected project
1
string $htmlname Name of select field
1
int $discard_closed Discard closed projects (0=Keep,1=hide completely except $selected,2=Disable)
1
int $maxlength Max length
1
int $forcefocus Force focus on field (works with javascript only)
1
string $textifnoproject Text to show if no project
1
string $selected Id condition pre-selectionne
1
string $htmlname Name of select html field
1
int $addempty Add empty entry
1
string $type Type ('direct-debit' or 'bank-transfer')
1
int $filtertype If > 0, include payment terms with deposit percentage (for objects other than invoices and invoice templates)
1
int $deposit_percent < 0 : deposit_percent input makes no sense (for example, in list filters)
1
int $page Page
1
string $selected Id condition pre-selectionne
1
string $htmlname Name of select html field
1
string $selected Id condition pre-selectionne
1
int $addempty Add empty entry
1
string $selected Date preselected
1
string $htmlname Html name of date input fields or 'none'
1
int $displayhour Display hour selector
1
int $displaymin Display minutes selector
1
int $nooutput 1=No print output, return string
1
string $type 'direct-debit' or 'bank-transfer'
1
string $selected Id of user preselected
1
string $htmlname Name of input html field. If 'none', we just output the user link.
1
int[] $exclude List of users id to exclude
1
int[] $include List of users id to include
1
string $selected Id mode pre-selectionne
1
string $filtertype To filter on field type in llx_c_paiement ('CRDT' or 'DBIT' or array('code'=>xx,'label'=>zz))
1
string $type Type ('direct-debit' or 'bank-transfer')
1
int $nooutput 1=Return string, no output
1
string $selected Id mode pre-select
1
string $selected code pre-selectionne
1
double $rate Current rate
1
string $currency Currency code to explain the rate
1
string $page Page URL where form is shown
1
int $selected Value preselected
1
string $htmlname Name of SELECT component. If 'none', not changeable. Example 'remise_id'.
1
int $socid Third party id
1
float $amount Total amount available
1
string $filter SQL filter on discounts
1
int $maxvalue Max value for lines that can be selected
1
string $more More string to add
1
int $hidelist 1=Hide list
1
int $discount_type 0 => customer discount, 1 => supplier discount
1
Societe $societe Filter on third party
1
string $selected Id contact pre-selectionne
1
string $htmlname Name of HTML select. If 'none', we just show contact link.
1
string $page Page
1
string $selected Id preselected
1
string $htmlname Name of HTML select
1
string $filter Optional filters criteras. WARNING: To avoid SQL injection, only few chars [.a-z0-9 =<>()] are allowed here (example: 's.rowid <> x', 's.client IN (1,3)'). Do not use a filter coming from input of users.
1
string|int<0,1> $showempty Add an empty field (Can be '1' or text key to use on empty line like 'SelectThirdParty')
1
int<0,1> $showtype Show third party type in combolist (customer, prospect or supplier)
1
int<0,1> $forcecombo Force to use combo box
1
int $nooutput No print output. Return it only.
1
int[] $excludeids Exclude IDs from the select combo
1
string $textifnothirdparty Text to show if no thirdparty
1
int $mode 0 = Add currency symbol into label, 1 = Add 3 letter iso code
bool $excludeConfCurrency false = If company current currency not in table, we add it into list. Should always be available.
1
string $morecss More css
1
string $country_code Country code with quotes ("'CA'", or "'CA,IN,...'")
1
string $htmlname Name of HTML select field
1
float|string $selectedrate Force preselected vat rate. Can be '8.5' or '8.5 (NOO)' for example. Use '' for no forcing.
1
Societe $societe_vendeuse Thirdparty seller
1
Societe $societe_acheteuse Thirdparty buyer
1
int $idprod Id product. O if unknown of NA.
1
int $info_bits Miscellaneous information on line (1 for NPR)
1
int|string $type ''=Unknown, 0=Product, 1=Service (Used if idprod not defined)
1
bool $options_only Return HTML options lines only (for ajax treatment)
1
int $mode 0=Use vat rate as key in combo list, 1=Add VAT code after vat rate into key, -1=Use id of vat line as key
1
int $type_vat 0=All type, 1=VAT rate sale, 2=VAT rate purchase
1
int $h 1 or 2=Show also hours (2=hours on a new line), -1 has same effect but hour and minutes are prefilled with 23:59 if date is empty, 3 show hour always empty
1
int $m 1=Show also minutes, -1 has same effect but hour and minutes are prefilled with 23:59 if date is empty, 3 show minutes always empty
1
int $empty 0=Fields required, 1=Empty inputs are allowed, 2=Empty inputs are allowed for hours only
1
string $form_name Not used
1
int $d 1=Show days, month, years
1
int $addnowlink Add a link "Now"
1
int $disabled Disable input fields
1
int $fullday When a checkbox with this html name is on, hour and day are set with 00:00 or 23:59
1
string $addplusone Add a link "+1 hour". Value must be name of another select_date field.
1
int|string $adddateof Add a link "Date of invoice" using the following date.
1
integer|string $set_time_end Pre-selected date (must be a local PHP server timestamp), -1 to keep date not preselected, '' to use current date with 00:00 hour (Parameter 'empty' must be 0 or 2).
1
int $empty 0=Fields required, 1=Empty inputs are allowed, 2=Empty inputs are allowed for hours only
1
int $forcenewline Force new line between the 2 dates.
1
integer|string $set_time Pre-selected date (must be a local PHP server timestamp), -1 to keep date not preselected, '' to use current date with 00:00 hour (Parameter 'empty' must be 0 or 2).
1
string $prefix Prefix for fields name
1
int $h 1 or 2=Show also hours (2=hours on a new line), -1 has same effect but hour and minutes are prefilled with 23:59 if date is empty, 3 show hour always empty
1
int $m 1=Show also minutes, -1 has same effect but hour and minutes are prefilled with 23:59 if date is empty, 3 show minutes always empty
1
int $empty 0=Fields required, 1=Empty inputs are allowed, 2=Empty inputs are allowed for hours only
1
string $form_name Not used
1
int<0,1> $d 1=Show days, month, years
1
int<0,2> $addnowlink Add a link "Now", 1 with server time, 2 with local computer time
1
int<0,1> $disabled Disable input fields
1
int|string $fullday When a checkbox with id #fullday is checked, hours are set with 00:00 (if value if 'fulldaystart') or 23:59 (if value is 'fulldayend')
1
string $addplusone Add a link "+1 hour". Value must be name of another selectDate field.
1
int|string|array $adddateof Add a link "Date of ..." using the following date. Must be array(array('adddateof'=>..., 'labeladddateof'=>...))
1
string $openinghours Specify hour start and hour end for the select ex 8,20
1
int $stepminutes Specify step for minutes between 1 and 30
1
string $labeladddateof Label to use for the $adddateof parameter. Deprecated. Used only when $adddateof is not an array.
1
string $placeholder Placeholder
1
mixed $gm 'auto' (for backward compatibility, avoid this), 'gmt' or 'tzserver' or 'tzuserrel'
1
string $prefix Prefix
1
string $selected Selected duration type
1
string[] $excludetypes Array of duration types to exclude. Example array('y', 'm')
1
string $prefix Prefix for input fields
1
int|string $iSecond Default preselected duration (number of seconds or '')
1
int $disabled Disable the combo box
1
string $typehour If 'select' then input hour and input min is a combo,
1
integer $minunderhours If 1, show minutes selection under the hours
1
string $selected Preselected tickets
1
string $htmlname Name of HTML select field (must be unique in page).
1
string $filtertype To add a filter
1
int $limit Limit on number of returned lines
1
string $selected_input_value Value of preselected input text (for use with ajax)
int<0,1> $nooutput No print, return the output into a string
1
string $selected Preselected adherent
1
string $filtertype Filter on adherent type
1
string $filterkey Filter on member status
1
int $status Member status
1
object $objp Result set of fetch
1
mixed[] $optJson Option (var used for returned value in json format)
1
string $objectdesc 'ObjectClass:PathToClass[:AddCreateButtonOrNot[:Filter[:Sortfield]]]'. For hard coded custom needs. Try to prefer method using $objectfield instead of $objectdesc.
1
string $htmlname Name of HTML select component
1
int $preSelectedValue Preselected value (ID of element)
1
string|int<0,1> $showempty ''=empty values not allowed, 'string'=value show if we allow empty values (for example 'All', ...)
1
string $searchkey Search criteria
1
string $placeholder Place holder
1
string $morecss More CSS
1
string $moreparams More params provided to ajax call
1
int $forcecombo Force to load all values and output a standard combobox (with no beautification)
1
int<0,1> $disabled 1=Html component is disabled
1
string $selected_input_value Value of preselected input text (for use with ajax)
1
string $objectfield Object:Field that contains the definition of parent (in table $fields or $extrafields). Example: 'Object:xxx' or 'Object@module:xxx' (old syntax 'Module_Object:xxx') or 'Object:options_xxx' or 'Object@module:options_xxx' (old syntax 'Module_Object:options_xxx')
1
string|int<0,1> $showempty ''=empty values not allowed, 'string'=value show if we allow empty values (for example 'All', ...)
1
string $htmlname Name of html select area. Try to start name with "multi" or "search_multi" if this is a multiselect
1
array{label:string,data-html:string,disable?:int<0,1>,css?:string} $array Array like array(key => value) or array(key=>array('label'=>..., 'data-...'=>..., 'disabled'=>..., 'css'=>...))
1
string|string[] $id Preselected key or array of preselected keys for multiselect. Use 'ifone' to autoselect record if there is only one record.
1
int<0,1>|string $show_empty 0 no empty value allowed, 1 or string to add an empty value into list (If 1: key is -1 and value is '' or ' ', If placeholder string: key is -1 and value is the string), <0 to add an empty value with key that is this value.
1
int<0,1> $key_in_label 1 to show key into label with format "[key] value"
1
int<0,1> $value_as_key 1 to use value as key
1
string $moreparam Add more parameters onto the select tag. For example 'style="width: 95%"' to avoid select2 component to go over parent container
1
int<0,1> $translate 1=Translate and encode value
1
int $maxlen Length maximum for labels
1
int<0,1> $disabled Html select box is disabled
1
string $sort 'ASC' or 'DESC' = Sort on label, '' or 'NONE' or 'POS' = Do not sort, we keep original order
1
string $morecss Add more class to css styles
1
int $addjscombo Add js combo
1
string $moreparamonempty Add more param on the empty option line. Not used if show_empty not set
1
int $disablebademail 1=Check if a not valid email, 2=Check string '---', and if found into value, disable and colorize entry
1
int $nohtmlescape No html escaping (not recommended, use 'data-html' if you need to use label with HTML content).
1
string $htmlname Name of html select area
1
string $url Url. Must return a json_encode of array(key=>array('text'=>'A text', 'url'=>'An url'), ...)
1
string $id Preselected key
1
string $moreparam Add more parameters onto the select tag
1
string $moreparamtourl Add more parameters onto the Ajax called URL
1
int $disabled Html select box is disabled
1
int $minimumInputLength Minimum Input Length
1
string $morecss Add more class to css styles
1
int $callurlonselect If set to 1, some code is added so an url return by the ajax is called when value is selected.
1
string $placeholder String to use as placeholder
1
integer $acceptdelayedhtml 1 = caller is requesting to have html js content not returned but saved into global $delayedhtmlcontent (so caller can show it at end of page to avoid flash FOUC effect)
string $moreparam Add more parameters onto the select tag
1
int<0,1> $disableFiltering If set to 1, results are not filtered with searched string
1
int<0,1> $disabled Html select box is disabled
1
int $minimumInputLength Minimum Input Length
1
string $morecss Add more class to css styles
1
int<0,1> $callurlonselect If set to 1, some code is added so an url return by the ajax is called when value is selected.
1
string $placeholder String to use as placeholder
1
int<0,1> $acceptdelayedhtml 1 = caller is requesting to have html js content not returned but saved into global $delayedhtmlcontent (so caller can show it at end of page to avoid flash FOUC effect)
int<0,1> $key_in_label 1 to show key like in "[key] value"
1
int<0,1> $value_as_key 1 to use value as key
1
string $morecss Add more css style
1
int<0,1> $translate Translate and encode value
1
int|string $width Force width of select box. May be used only when using jquery couch. Example: 250, '95%'
1
string $moreattrib Add more options on select component. Example: 'disabled'
1
string $elemtype Type of element we show ('category', ...). Will execute a formatting function on it. To use in readonly mode if js component support HTML formatting.
1
string $placeholder String to use as placeholder
1
int<-1,1> $addjscombo Add js combo
1
string $htmlname Name of HTML field
1
array $array Array with array of fields we could show. This array may be modified according to setup of user.
1
string $varpage Id of context for page. Can be set by caller with $varpage=(empty($contextpage)?$_SERVER["PHP_SELF"]:$contextpage);
1
string $pos Position colon on liste value 'left' or '' (meaning 'right').
1
int $id Id of object
1
string $type Type of category ('member', 'customer', 'supplier', 'product', 'contact'). Old mode (0, 1, 2, ...) is deprecated.
1
int<0,1> $rendermode 0=Default, use multiselect. 1=Emulate multiselect (recommended)
1
int<0,1> $nolink 1=Do not add html links
1
CommonObject $object Object we want to show links to
1
string $morehtmlright More html to show on right of title
1
array $compatibleImportElementsList Array of compatibles elements object for "import from" action
1
string $title Title
1
CommonObject $object Object we want to show links to
1
string[] $restrictlinksto Restrict links to some elements, for example array('order') or array('supplier_order'). null or array() if no restriction.
1
string[] $excludelinksto Do not show links of this type, for example array('order') or array('supplier_order'). null or array() if no exclusion.
1
string $htmlname Name of html select field
1
string $value Pre-selected value
1
int $option 0 return yes/no, 1 return 1/0
1
bool $disabled true or false
1
int $useempty 1=Add empty line
1
int $addjscombo 1=Add js beautifier on combo box
1
string $labelyes Label for Yes
1
string $labelno Label for No
1
string $selected Id modele pre-selectionne
1
string $type Type of searched templates
1
int $useempty Affiche valeur vide dans liste
1
CommonObject $object Object to show.
1
string $paramid Name of parameter to use to name the id into the URL next/previous link.
1
string $morehtml More html content to output just before the nav bar.
1
int<0,1> $shownav Show Condition (navigation is shown if value is 1).
1
string $fieldid Name of field id into database to use for select next and previous (we make the select max and min on this field compared to $object->ref). Use 'none' to disable next/prev.
1
string $fieldref Name of field ref of object (object->ref) to show or 'none' to not show ref.
1
string $morehtmlref More html to show after ref.
1
string $moreparam More param to add in nav link url. Must start with '&...'.
1
int<0,1> $nodbprefix Do not include DB prefix to forge table name.
1
string $morehtmlleft More html code to show before ref.
1
string $morehtmlstatus More html code to show under navigation arrows (status place).
1
string $morehtmlright More html code to show after ref.
1
CommonObject $object Object containing data to retrieve file name
1
int $width Width of photo
1
string $morecss More CSS on img of barcode
1
string $modulepart Key to define module concerned ('societe', 'userphoto', 'memberphoto')
1
Societe|Adherent|Contact|User|CommonObject $object Object containing data to retrieve file name
1
int $width Width of photo
1
int $height Height of photo (auto if 0)
1
int<0,1> $caneditfield Add edit fields
1
string $cssclass CSS name to use on img for photo
1
string $imagesize 'mini', 'small' or '' (original)
1
int<0,1> $addlinktofullsize Add link to fullsize image
1
int<0,1> $cache 1=Accept to use image in cache
1
string $forcecapture '', 'user' or 'environment'. Force parameter capture on HTML input file element to ask a smartphone to allow to open camera to take photo. Auto if ''.
1
int<0,1> $noexternsourceoverwrite No overwrite image with extern source (like 'gravatar' or other module)
1
int|object|object[] $selected Id group or group(s) preselected
1
string $htmlname Field name in form
1
int<0,1> $show_empty 0=liste sans valeur nulle, 1=ajoute valeur inconnue
1
string|int[] $exclude Array list of groups id to exclude
1
int<0,1> $disabled If select list must be disabled
1
string|int[] $include Array list of groups id to include
1
int[] $enableonly Array list of groups id to be enabled. All other must be disabled
1
string $force_entity '0' or Ids of environment to force
1
bool $multiple add [] in the name of element and add 'multiple' attribute (not working with ajax_autocompleter)
1
string $morecss More css to add to html component
1
string $pos Position of colon on the list. Value 'left' or 'right'
1
string $massactionname Mass action button name that will launch an action on the selected items
1
int $addcheckuncheckall Add the check all/uncheck all checkbox (use javascript) and code to manage this
1
string $massactionname Mass action name
1
string $selected preselected category
1
string $htmlname name of HTML select list
1
int<0,1> $useempty 1=Add empty line
1
int[] $excludeid id to exclude
1
string $target htmlname of target select to bind event
1
int $default_selected default category to select if fk_c_type_fees change = EX_KME
1
array $params param to give
1
int<0,1> $info_admin Show the tooltip help picto to setup list
1
integer $useempty 1=Add empty choice
1
integer $allchoice 1=Add all choice
1
integer $useid 0=use 'code' as key, 1=use 'id' as key
1
int $discard_closed Discard closed projects (0=Keep,1=hide completely,2=Disable)
1
string $showproject 'all' = Show project info, ''=Hide project info
1
array> $arrayofcriterias Array of available search criteria. Example: array($object->element => $object->fields, 'otherfamily' => otherarrayoffields, ...)
1
array $search_component_params Array of selected search criteria
1
string[] $arrayofinputfieldsalreadyoutput Array of input fields already inform. The component will not generate a hidden input field if it is in this list.
1
string $search_component_params_hidden String with $search_component_params criteria
1
string $prefix Prefix
1
string $modelType Model type
1
int<0,1> $default 1=Show also Default mail template
1
int<0,1> $addjscombo Add js combobox
1
string $save_label Alternative label for save button
1
string $cancel_label Alternative label for cancel button
1
array $morebuttons Add additional buttons between save and cancel
1
bool $withoutdiv Option to remove enclosing centered div
1
string $morecss More CSS
1
string $dol_openinpopup If the button are shown in a context of a page shown inside a popup, we put here the string name of popup.
1
int $selected Id of invoice subtype to preselect by default
1
string $htmlname Select field name
1
int<0,1> $addempty Add an empty entry
1
int<0,1> $noinfoadmin 0=Add admin info, 1=Disable admin info
1
string $morecss Add more CSS on select tag
1
mixed $value Value of property
1
string $name Name of method
1
mixed[] $arguments Method arguments
1
array $parameters Hook parameters.
1
array|string $allContexts Context to check
1
string $string1 First string
1
string $string2 Second string
1
string $file1 Path to the first file
1
string $file2 Path to the second file
1
array}> $table the table returned by the computeTable function
1
string $separator the separator between lines; this optional parameter defaults to "\n"
1
string $separator the separator between lines; this optional parameter defaults to ' '
1
string $indentation indentation to add to every line of the generated HTML; this optional parameter defaults to ''
1
string $separator the separator between lines; this optional parameter defaults to ' '
1
string $indentation indentation to add to every line of the generated HTML
1
string $separator the separator between lines
1
string $index the current index, passes by reference
1
string $type the type of line
1
array $_options An array of options for stream_context_create()
1
int $_val Value
1
string $_strErrorsTo Errors to
1
boolean $_part Variant
1
boolean $_vDebug Value for debug
1
mixed $_strConfigPath path to config file or VOID
1
int $_type Integer value representing Mail Transport Type
1
string $_path Path to the sendmail executable
1
string $_strHost Host Name or IP of the Mail Server to use
1
int|string $_intPort Port Number of the Mail Server to use
1
string $_strID User Name for authentication on Mail Server
1
string $_strPW User Password for authentication on Mail Server
1
string $_strToken User token
1
string $_strCharSet Character set used for current message
string $_strFrom Address from which mail will be sent
1
string $_strReplyTo Address from which mail will be the reply-to
1
string $_strInReplyTo List of Msg-Id
1
string $_strReferences List of Msg-Id
1
string $_type TO, CC, or BCC lists to add addrresses into
1
mixed $_addrList Array or COMMA delimited string of addresses
1
string $_strAddr Email address
1
string $_which Which collection of addresses to return ('to', 'cc', 'bcc')
1
string $_addrTo TO Address[es] inwhich to send mail to
1
string $_strCC CC Address[es] inwhich to send mail to
1
string $_strBCC Recipients BCC Address[es] inwhich to send mail to
1
string $_strSubject Message Subject
1
string $strContent Message Content
1
string $strType Type
1
string $strContent File data to attach to message
1
string $strFileName File Name to give to attachment
1
string $strMimeType File Mime Type of attachment
1
string $strCid File Cid of attachment (if defined, to be shown inline)
1
string $strContent Image data to attach to message
1
string $strImageName Image Name to give to attachment
1
string $strMimeType Image Mime Type of attachment
1
string $strImageCid CID
1
integer $_value Message Sensitivity
1
integer $_value Message Priority
1
boolean $_flag MD5flag
1
string $strXdata Message X-Header Content
1
string $type Type of boundary
1
resource $socket Socket handler
1
string $response Expected response ('250', ...). Example of response we can get:
1
string $_strSend String to send
1
string $_returnCode Expected return code
1
string $CRLF CRLF
1
int $_errNum Error Code Number
1
string $_errMsg Error Message
1
string $type The categorie type (e.g Categorie::TYPE_WAREHOUSE)
1
array $preSelected A list with the elements that should pre-selected
1
string $morecss More CSS
1
int $searchCategoryProductOperator Used only if $multiselect is 1. Set to 0 or 1 to enable the checkbox to search with a or (0=not preseleted, 1=preselected), -1=Checkbox never shown.
1
int $multiselect 0 or 1
1
int $nocateg 1=Add an entry '- No Category -'
1
string $showempty 1 or 'string' to add an empty entry
1
int $selected Id category pre-selection
1
string $htmlname Name of HTML field
1
int $showempty Add an empty field
1
string|array $filter Filter as an Universal Search string or Array (array use is deprecated)
1
string $name Filename
1
array $value either an argument list (two strings) or a single string
1
mixed $in Input
1
bool $force Force rebuild?
1
string $buffer String to parse
1
string $selected Preselected type
1
string $morecss Add more CSS on select
1
int $noerrorifempty No print error if list is empty for the country
1
string $morecss Class on first column td
1
int $showform Show form tags and submit button (recommended is to use with value 0)
1
int $noprint 1=Return HTML string instead of printing it to output
1
string $morejs Add more js. For example: ".on( \'saveSnapshot\', function(e) { alert(\'ee\'); });". Used by CKEditor only.
1
boolean $disallowAnyContent Disallow to use any content. true=restrict to a predefined list of allowed elements. Used by CKEditor only.
1
string $titlecontent Show title content before editor area. Used by ACE editor only.
1
string $option For ACE editor, set the source language ('html', 'php', 'javascript', ...)
1
string $moreparam Add extra tags to the textarea
1
string $morecss Add extra css to the textarea
1
string $htmlname HTML name of WYSIWYG field
1
string $content Content of WYSIWYG field
1
int|string $width Width in pixel of edit area (auto by default)
1
int $height Height in pixel of edit area (200px by default)
1
string $toolbarname Name of bar set to use ('Full', 'dolibarr_notes[_encoded]', 'dolibarr_details[_encoded]'=the less featured, 'dolibarr_mailings[_encoded]', 'dolibarr_readonly').
1
string $toolbarlocation Deprecated. Not used
1
boolean $toolbarstartexpanded Bar is visible or not at start
1
boolean|int $uselocalbrowser Enabled to add links to local object with local browser. If false, only external images can be added in content.
1
boolean|string $okforextendededitor True=Allow usage of extended editor tool if qualified (like ckeditor). If 'textarea', force use of simple textarea. If 'ace', force use of Ace.
1
int $rows Size of rows for textarea tool
1
string $cols Size of cols for textarea tool (textarea number of cols '70' or percent 'x%')
1
int $readonly 0=Read/Edit, 1=Read only
1
array $poscursor Array for initial cursor position array('x'=>x, 'y'=>y).
1
int $selected Preselected type
1
array $exclude Exclude values from the list
1
int $scriptonly Add warning if synchro only work with a script (0 = disable, 1 = Dolibarr2ldap, 2 = ldap2dolibarr, 3 = all)
1
string $to Recipients SMS
1
string $from Sender SMS
1
string $msg Message
1
int $deliveryreceipt Not used
1
int $deferred Deferred or not
1
int $priority Priority
1
int $class Class
1
int $result Result of sms sending
1
string $a Server
1
string $desc Description
1
string $response Server
1
string $openid_identity Server
1
array $arr An array
1
string $url URL
1
string $method Method
1
string $params Params
1
string $content Content
1
string $url Url to found endpoint
1
string $url Url of endpoint to request
1
int $selected Id code pre-selected
1
array $barcodelist Array of barcodes generators
1
int $code_id Id du code barre
1
string $idForm Id of html form, ex id="idform"
1
int $useempty Affiche valeur vide dans liste
1
int $useempty Display empty value in select
1
string $page Page
1
int $selected Id condition preselected
1
string $htmlname Nom du formulaire select
1
string $page Page
1
int $selected Id condition preselected
1
string $htmlname Nom du formulaire select
1
string $selected Id of preselected input method
1
string $htmlname Name of HTML select list
1
int $addempty 0=list with no empty value, 1=list with empty value
1
integer $selected Type pre-selectionne
1
string $htmlname Nom champ formulaire
1
string $jstoexecuteonadd Name of javascript function to call once the barcode scanning session is complete and user has click on "Add".
1
string $mode 'all' (both product and lot barcode) or 'product' (product barcode only) or 'lot' (lot number only)
1
int $warehouseselect 0 (disable warehouse select) or 1 (enable warehouse select)
1
int $useempty Show an empty value in list
1
int $fk_user User we want templates
1
int $useempty Affiche valeur vide dans liste
1
int $fk_user User that has created the template
1
string $selected Preselected ecotaxes
1
string $htmlname Name of combo list
1
string $selected Value of preselected revenue stamp
1
string $htmlname Name of combo list
1
string $country_code Country Code
1
integer $selected pourcentage pre-selectionne
1
string $htmlname nom de la liste deroulante
1
int $disabled Disabled or not
1
int $increment increment value
1
int $start start value
1
int $end end value
1
int $showempty Add also an empty line
1
int $type Type of category ('customer', 'supplier', 'contact', 'product', 'member'). Old mode (0, 1, 2, ...) is deprecated.
1
integer $selected Preselected value
1
string $htmlname Name of combo list
1
int $nocateg Show also an entry "Not categorized"
1
int|string $showempty Add also an empty line
1
string $morecss More CSS
1
int|string $selected Preselected value
1
string $htmlname Name of combo list (example: 'search_sale')
1
User $user Object user
1
int $showstatus 0=show user status only if status is disabled, 1=always show user status into label, -1=never show user status
1
int|string $showempty 1=show also an empty value or text to show for empty
1
int $norepresentative Show also an entry "Not categorized"
1
int $selectedtask Pre-selected task
1
string $htmlname Name of html select
1
int $modeproject 1 to restrict on projects owned by user
1
int $modetask 1 to restrict on tasks associated to user
1
int $useempty 0=Allow empty values
1
string $filteronprojstatus Filter on project status ('-1'=no filter, '0,1'=Draft+Validated status)
1
string $morecss More css
1
int $inc Cursor counter
1
int $parent Id of parent task we want to see
1
array $lines Array of task lines
1
int $selectedtask Id selected task
1
int $selectedproject Id selected project
1
string $color String with hex (FFFFFF) or comma RGB ('255,255,255')
1
string $textifnotdefined Text to show if color not defined
1
string $set_color Pre-selected color
1
string $prefix Name of HTML field
1
string $form_name Deprecated. Not used.
1
int $showcolorbox 1=Show color code and color box, 0=Show only color code
1
array $arrayofcolors Array of colors. Example: array('29527A','5229A3','A32929','7A367A','B1365F','0D7813')
1
string $set_color Pre-selected color with format '#......'
1
string $prefix Name of HTML field
1
string $form_name Deprecated. Not used.
1
int $showcolorbox 1=Show color code and color box, 0=Show only color code
1
array $arrayofcolors Array of possible colors to choose in the selector. All colors are possible if empty. Example: array('29527A','5229A3','A32929','7A367A','B1365F','0D7813')
1
string $morecss Add css style into input field
1
string $setpropertyonselect Set this CSS property after selecting a color
1
string $default Default color
1
string $color Color of image
1
string $module Name of module
1
string $name Name of image
1
int $x Largeur de l'image en pixels
1
int $y Hauteur de l'image en pixels
1
string $selected Preselected value
1
string $htmlname Nom de la zone select
1
int $useempty Affiche valeur vide dans liste
1
string $selected Preselected value
1
string $htmlname Name of HTML select object
1
int $useempty Show empty in list
1
int $longlabel Show long label
1
string $morecss More Css
1
bool $addjscombo Add js combo
1
string $selected Preselected value (''=current year, -1=none, year otherwise)
1
string $htmlname Name of HTML select object
1
int $useempty Affiche valeur vide dans liste
1
int $min_year Offset of minimum year into list (by default current year -10)
1
int $max_year Offset of maximum year into list (by default current year + 5)
1
int $invert Invert
1
string $option Option
1
bool $addjscombo Add js combo
1
string $selected Preselected value (''=current year, -1=none, year otherwise)
1
string $htmlname Name of HTML select object
1
int $useempty Affiche valeur vide dans liste
1
int $min_year Offset of minimum year into list (by default current year -10)
1
int $max_year Offset of maximum year into list (by default current year + 5)
1
int $offset Offset
1
int $invert Invert
1
string $option Option
1
bool $addjscombo Add js combo
1
User $user Object User
1
string $areacode Code of area for pages - 0 = Home page ... See getListOfPagesForBoxes()
1
string $dictionarytable Dictionary table
1
string $keyfield Field for key
1
string $labelfield Label field
1
string $htmlname Name of html select field
1
string $value Pre-selected value
1
int $option 0 return automatic/manual, 1 return 1/0
1
bool $disabled true or false
1
int $useempty 1=Add empty line
1
array $search_groupby Array of preselected fields
1
array $arrayofgroupby Array of groupby to fill
1
array $search_xaxis Array of preselected fields
1
array $arrayofxaxis Array of groupby to fill
1
string $mode 'available' or 'activated'
1
int $zone Name or area (-1 for all, 0 for Homepage, 1 for Accountancy, 2 for xxx, ...)
1
User|null $user Object user to filter
1
array $excludelist Array of box id (box.box_id = boxes_def.rowid) to exclude
1
int $includehidden Include also hidden boxes
1
int $zone Name of area (0 for Homepage, ...)
1
string $boxorder List of boxes with correct order 'A:123,456,...-B:789,321...'
1
int $userid Id of user
1
string $key Google key
1
string $address Address
1
string $short_label Short Label ('g', 'kg', ...)
1
string $unit_type Unit type ('size', 'surface', 'volume', 'weight', ...)
int $addimgandbarcode Add image and barcode into the test
1
Facture|Commande $object Order or invoice object
1
int $templateid Template id
1
int $printerid Printer id
1
int $templateid Template id
1
int $printerid Printer id
1
string|Project $selected Id of preselected project or Project (or ''). Note: If you know the ref, you can also provide it into $selected_input_value to save one request in some cases.
1
string $htmlname Name of HTML field
1
int|string $show_empty Add an empty line
1
int $discard_closed Discard closed projects (0=Keep, 1=hide completely, 2=Disable). Use a negative value to not show the "discarded" tooltip.
1
int $mode 0 for HTML mode and 1 for JSON mode
1
string $filterkey Key to filter on ref or title
1
string $htmlid Html id to use instead of htmlname, by example id="htmlid"
1
int $selected Id project preselected
1
string $htmlname Name of html component
1
int|string $show_empty Add an empty line
1
int $discard_closed Discard closed projects (0=Keep,1=hide completely,2=Disable)
1
int $mode 0 for HTML mode and 1 for array return (to be used by json_encode for example)
1
string $filterkey Key to filter on title or ref
1
string $htmlid Html id to use instead of htmlname
1
int $selected Id task preselected
1
int $discard_closed Discard closed projects (0=Keep, 1=hide completely, 2=Disable)
1
string $showmore 'all' = Show project info, 'progress' = Show task progression, ''=Show nothing more
1
string $table_element Table of the element to update
1
int|string $socid If of thirdparty to use as filter or 'id1,id2,...'
1
string $morecss More CSS
1
int $limitonstatus Add filters to limit length of list to opened status (for example to avoid ERR_RESPONSE_HEADERS_TOO_BIG on project/element.php page). TODO To implement
1
string $projectkey Equivalent key to fk_projet for actual table_element
1
string $htmlname HTML name
1
string $preselected Preselected (int or 'all' or 'none')
1
int $showempty Add an empty line
1
int $useshortlabel Use short label
1
int $showallnone Add choice "All" and "None"
1
int $showpercent Show default probability for status
1
string $morecss Add more css
1
int $addcombojs 1=Add a js combo
1
int $selectedInvoiceId Id invoice preselected
1
int $selectedLineId Id invoice line preselected
1
string $htmlNameInvoice Name of HTML select for Invoice
1
string $htmlNameInvoiceLine Name of HTML select for Invoice Line
1
array $filters Array of filters
1
int $lineOnly return only option for line
1
string $page Page
1
string $selected Id preselected
1
int $percent_value percentage of the opportunity
1
string $htmlname_status name of HTML element for status select
1
string $htmlname_percent name of HTML element for percent input
1
string $filter optional filters criteras
1
int $nooutput No print output. Return it only.
1
string|array $filter filter USF
1
int $entity Entity to get
1
int $mode 0=Return id+label, 1=Return code+label
1
int $mode 0=return id+label, 1=return code+Label
1
string $selected Code state preselected
1
int $country_codeid 0=list for all countries, otherwise country code or country rowid to show
1
string $htmlname Id of department
1
string $parent_field_id Parent select name to monitor
1
integer $selected Code state preselected (mus be state id)
1
integer $country_codeid Country code or id: 0=list for all countries, otherwise country code or country rowid to show
1
string $htmlname Id of department. If '', we want only the string with
1
string $morecss Add more css
1
string $selected Preselected value
1
string $htmlname Name of HTML select field
1
string $selected Civility/Title code preselected
1
string $htmlname Name of HTML select combo field
1
string $morecss Add more css on SELECT element
1
int $addjscombo Add js combo
1
string $selected Preselected code for juridical type
1
mixed $country_codeid 0=All countries, else the code of the country to display
1
string $filter Add a SQL filter on list
1
string $selected Preselected code of juridical type
1
int $country_codeid 0=list for all countries, otherwise list only country requested
1
string $filter Add a SQL filter on list. Data must not come from user input.
1
string $htmlname HTML name of select
1
object $object Object we try to find contacts
1
string $var_id Name of id field
1
int $selected Pre-selected third party
1
string $htmlname Name of HTML form
1
array $limitto Disable answers that are not id in this array list
1
int $forceid This is to force another object id than object->id
1
string $moreparam String with more param to add into url when noajax search is used.
1
string $morecss More CSS on select component
1
object $object Object to use to find type of contact
int $forcehidetooltip Force hide tooltip for admin
1
string $htmlname Html component name and id
1
Contact $contact Contact Object
1
string $rendermode view, edit
1
array $selected $key=>$val $val is selected Roles for input mode
1
string $morecss More css
1
string $htmlname Name of HTML select
1
string $preselected Default value to show
1
string $country_code FR, IT, ...
1
string $morecss More css
1
int $local LocalTax
1
float $selected Preselected value
1
string $htmlname HTML select name
1
int $selected Selected value
1
string $htmlname HTML select name
1
string $htmlidname HTML select id
1
string $typeinput HTML output
1
string $allowempty Allow empty value or not
1
string $page Page
1
string $selected Id preselected
1
string $htmlname Name of HTML select
1
string $filter optional filters criteras
1
int $nooutput No print output. Return it only.
1
string $htmlname Name of HTML select
1
Societe|null $prospectstatic Prospect object
1
int $statusprospect status of prospect
1
int $idprospect id of prospect
1
string $mode select if we want activate de html part or js
1
int $offset Offset limit
1
string $sortorder Sort Order
1
string $sortfield Sort field
1
int $limit Limit
1
int $offset Offset
1
string $filter Filter USF
1
int $code code of unit
1
DoliDB $db Database handler
1
Translate $outputLang Output lang for error
1
string $errMsg your error message
1
string $email e-mail address to validate
1
int $maxLength string max length (not used)
1
string $price Price to validate
1
string|int $stamp timestamp to validate
1
string $phone Phone string to validate
1
string $url to validate
1
mixed $duration to validate
1
mixed $string to validate
1
boolean $bool Boolean to validate
1
array $values Boolean to validate
1
string $table the db table name without $this->db->prefix()
1
string $col the target col
1
integer $id of element
1
string $classname the class name
1
string $classpath the class path
1
string $expr Expression
1
array $tokens Expression
1
array $vars Array
1
string $code Code
1
string $msg Msg
1
string|null $info String
1
string $val Val
1
int $n N
1
int $socid Id third party (-1=all, 0=only contracts not linked to a third party, id=contracts not linked or linked to third party id)
1
int $selected Id contract preselected
1
int $showempty Show empty line
1
int $showRef Show customer and supplier reference on each contract (when found)
1
int $page Page
1
int $socid Id third party (-1=all, 0=only contracts not linked to a third party, id=contracts not linked or linked to third party id)
1
int $selected Id contract preselected
1
string $htmlname Nom de la zone html
1
int $maxlength Maximum length of label
1
int $showempty Show empty line
1
int $showRef Show customer and supplier reference on each contract (when found)
1
string $srclang Language to use. If '' or 'auto', we use browser lang.
1
string $dir Force directory that contains /langs subdirectory (value is sometimes '..' like into install/* pages or support/* pages). Use '' by default.
1
Conf $conf Object with Dolibarr configuration
1
int $mode 0=Long language code, 1=Short language code (en, fr, es, ...)
1
array $domains Array of lang files to load
1
string $domain File name to load (.lang file). Must be "file" or "file@module" for module language files:
1
integer $alt 0 (try xx_ZZ then 1), 1 (try xx_XX then 2), 2 (try en_US)
1
int $stopafterdirection Stop when the DIRECTION tag is found (optimize speed)
1
string $forcelangdir To force a different lang directory
1
int $loadfromfileonly 1=Do not load overwritten translation from file or old conf.
1
int $forceloadifalreadynotfound Force attempt to reload lang file if it was previously not found
1
array $tabtranslatedomain Store translations to be stored in cache
1
string $langkey To create key for cachekey in recursivity
1
DoliDB $db Database handler
1
string $domain Domain to check
1
string $key Key to translate
1
string $param1 param1 string
1
string $param2 param2 string
1
string $param3 param3 string
1
string $param4 param4 string
1
int $maxsize Max length of text. Warning: Will not work if paramX has HTML content. deprecated.
1
string $str String to convert
1
string $langdir Directory to scan
1
integer $maxlength Max length for each value in combo box (will be truncated)
1
int $usecode 1=Show code instead of country name for language variant, 2=Show only code
1
int $mainlangonly 1=Show only main languages ('fr_FR' no' fr_BE', 'es_ES' not 'es_MX', ...)
1
string $filename Language filename to search
1
integer $searchalt Search also alternate language file
1
int|string $number Number to encode in full text
1
string $isamount ''=it's just a number, '1'=It's an amount (default currency), 'currencycode'=It's an amount (foreign currency)
1
string $key Translation key to get label (key in language file)
1
string $tablename Table name without prefix. This value must always be a hardcoded string and not a value coming from user input.
1
string $fieldkey Field for key. This value must always be a hardcoded string and not a value coming from user input.
1
string $fieldlabel Field for label. This value must always be a hardcoded string and not a value coming from user input.
1
string $keyforselect Use another value than the translation key for the where into select
1
int $filteronentity Use a filter on entity
1
string $currency_code Currency Code
1
string $amount If not '', show currency + amount according to langs ($10, 10€).
1
string $currency_code Currency code
1
integer $forceloadall 1=Force to load all currencies into cache. We know we need to use all of them. By default read and cache only the requested currency.
1
string $currency_code Get only currency. Get all if ''.
1
string $choices Choice of purge mode ('tempfiles', 'tempfilesold' to purge temp older than $nbsecondsold seconds, 'logfiles', or mix of this). Note that 'allfiles' is also possible but very dangerous.
1
int $nbsecondsold Nb of seconds old to accept deletion of a directory if $choice is 'tempfilesold', or deletion of file if $choice is 'allfiles'
1
string $compression 'gz' or 'bz' or 'none'
1
string $type 'mysql', 'postgresql', ...
1
int $usedefault 1=Use default backup profile (Set this to 1 when used as cron)
1
string $file 'auto' or filename to build
1
int $keeplastnfiles Keep only last n files (not used yet)
1
int $execmethod 0=Use default method (that is 1 by default), 1=Use the PHP 'exec' - need size of dump in memory, but low memory method is used if GETPOST('lowmemorydump') is set, 2=Use the 'popen' method (low memory method)
1
int $lowmemorydump 1=Use the low memory method. If $lowmemorydump is set, it means we want to make the compression using an external pipe instead retrieving the content of the dump in PHP memory array $output_arr and then print it into the PHP pipe open with xopen().
1
string $command Command line to execute.
1
string $outputfile A path for an output file (used only when method is 2). For example: $conf->admin->dir_temp.'/out.tmp';
1
int $execmethod 0=Use default method (that is 1 by default), 1=Use the PHP 'exec', 2=Use the 'popen' method
1
string $redirectionfile If defined, a redirection of output to this file is added.
1
int $noescapecommand 1=Do not escape command. Warning: Using this parameter needs you already have sanitized the $command parameter. If not, it will lead to security vulnerability.
1
string $redirectionfileerr If defined, a redirection of error is added to this file instead of to channel 1.
1
string $module Module name
1
string $outputfile Output file name
1
string $tables Table name or '*' for all
1
string $sendto Recipients emails
1
string $from Sender email
1
string $message Message
1
string $filename List of files to attach (full path of filename on file system)
string $length Size/length of attribute ('5', '24,8', ...)
1
string $default_value Default value for field (in database)
1
array $param Params for field (ex for select list : array('options'=>array('value'=>'label of option'))
1
string $perms Permission
1
string $list Into list view by default
1
string $attrname code of attribute
1
string $label label of attribute
1
string $type Type of attribute ('int', 'varchar', 'text', 'html', 'date', 'datehour', 'float')
1
int $pos Position of attribute
1
string $size Size/length of attribute ('5', '24,8', ...)
1
string $elementtype Element type ('member', 'product', 'thirdparty', ...)
1
int $unique Is field unique or not
1
int $required Is field required or not
1
array|string $param Params for field (ex for select list : array('options' => array(value'=>'label of option')) )
1
int $alwayseditable Is attribute always editable regardless of the document status
1
string $perms Permission to check
1
string $list Visibility
1
string $help Help on tooltip
1
string $default Default value (in database. use the default_value feature for default value on screen).
1
string $computed Computed value
1
string $entity Entity of extrafields
1
string $langfile Language file
1
string $enabled Condition to have the field enabled or not
1
int $totalizable Is a measure. Must show a total on lists
1
int $printable Is extrafield displayed on PDF
1
array $moreparams More parameters. Example: array('css'=>, 'csslist'=>, 'cssview'=>...)
1
string $attrname Code of attribute to delete
1
string $elementtype Element type ('member', 'product', 'thirdparty', 'contact', ...)
1
string $attrname Code of attribute to delete
1
string $elementtype Element type ('member', 'product', 'thirdparty', ...)
1
string $type Type of attribute ('boolean', 'int', 'varchar', 'text', 'html', 'date', 'datetime','price','phone','mail','password','url','select','checkbox', ...)
1
int $length Length of attribute
1
array $param Params for field (ex for select list : array('options' => array(value'=>'label of option')) )
1
string $entity Entity of extrafields
1
string $type Type of attribute
1
int $size Length of attribute
1
string $elementtype Element type ('member', 'product', 'thirdparty', ...)
1
array $param Params for field (ex for select list : array('options' => array(value'=>'label of option')) )
1
string $help Help on tooltip.
1
string $entity Entity of extrafields
1
string $elementtype Type of element ('all' = all or $object->table_element like 'adherent', 'commande', 'thirdparty', 'facture', 'propal', 'product', ...).
1
string $attrname The name of the attribute.
1
string $key Key of attribute
1
string|array $value Preselected value to show (for date type it must be in timestamp format, for amount or price it must be a php numeric value); for dates in filter mode, a range array('start'=>, 'end'=>) should be provided
1
string $moreparam To add more parameters on html input tag
1
string $keysuffix Prefix string to add after name and id of field (can be used to avoid duplicate names)
1
string $keyprefix Suffix string to add before name and id of field (can be used to avoid duplicate names)
1
string $morecss More css (to defined size of field. Old behaviour: may also be a numeric)
1
int $objectid Current object id
1
string $extrafieldsobjectkey The key to use to store retrieved data (commonly $object->table_element)
1
int $mode 1=Used for search filters
1
string $extrafieldsobjectkey Required (for example $object->table_element).
1
Translate $outputlangs Output language
1
string $extrafieldsobjectkey If defined, use the new method to get extrafields data
1
string $key Key of attribute
1
object $object Object
1
int $colspan Value of colspan to use (it must includes the first column with title)
1
string $display_type "card" for form display, "line" for document line display (extrafields on propal line, order line, etc...)
1
string $mode Show output ('view') or input ('create' or 'edit') for extrafield
1
array|null $extralabels Deprecated (old $array of extrafields, now set this to null)
1
object $object Object
1
string $onlykey Only some keys are filled:
1
int $todefaultifmissing 1=Set value to the default value in database if value is mandatory and missing
1
array|string $extrafieldsobjectkey array of extrafields (old usage) or value of object->table_element (new usage)
1
string $keyprefix Prefix string to add into name and id of field (can be used to avoid duplicate names)
1
string $keysuffix Suffix string to add into name and id of field (can be used to avoid duplicate names)
1
mixed $v Value to test
1
string $type Type of extrafield 'sellist', 'link', 'select', ...
1
array $arrayofrecords Array of record information (array('textleft'=>,'textheader'=>, ..., 'id'=>,'photo'=>)
1
Translate $outputlangs Lang object for output language
1
TCPDF $pdf PDF reference
1
Translate $outputlangs Output langs
1
array $param Associative array containing label content and optional parameters
1
TCPDF $pdf PDF reference
1
int $pt point
1
TCPDF $pdf PDF reference
1
int $x1 X1
1
int $y1 Y1
1
int $x2 X2
1
int $y2 Y2
1
int $epaisseur Epaisseur
1
int $nbPointilles Nb pointilles
1
TCPDF $pdf PDF reference
1
int $x1 X1
1
int $y1 Y1
1
int $x2 X2
1
int $y2 Y2
1
int $epaisseur Epaisseur
1
int $taille Size
1
int $value value
1
string $src from ('in' or 'mm')
1
string $dest to ('in' or 'mm')
1
int $pt Point
1
TCPDF $pdf PDF reference
1
array{metric:string,name:string,code:string,marginLeft:float,marginTip:float,SpaceX:float,SpaceY:float,NX:int,NY:int,width:float,height:float,font-size:float} $format Format
1
string $elementtype Type of element ('' = all, 'adherent', 'commande', 'thirdparty', 'facture', 'propal', 'product', ...).
1
string $key Key of attribute
1
string $value Preselected value to show (for date type it must be in timestamp format, for amount or price it must be a php numeric value)
1
string $extrafieldsobjectkey If defined (for example $object->table_element), use the new method to get extrafields data
1
string $moreparam To add more parameters on html input tag
1
string $keysuffix Prefix string to add after name and id of field (can be used to avoid duplicate names)
1
string $keyprefix Suffix string to add before name and id of field (can be used to avoid duplicate names)
1
string $morecss More css (to defined size of field. Old behaviour: may also be a numeric)
1
int $objectid Current object id
1
int $mode 1=Used for search filters
1
string $extrafieldsobjectkey If defined (for example $object->table_element), function uses the new method to get extrafields data
1
string $htmlname Html control name
1
integer $selected selected value
1
integer $readonly Select is read only or not
1
DoliDB $db Database handler
1
string $actiontype Action type ('create', 'view', 'edit', 'list')
1
string $action Action type ('create', 'view', 'edit', 'list', 'add', 'update')
1
string $module Name of target module (thirdparty, contact, ...)
1
string $card Tab name of card (ex: 'card', 'info', 'contactcard', ...) or '' for a list page
1
string $canvas Name of canvas (ex: mycanvas, default, or mycanvas@myexternalmodule)
1
int $id Object id (if ref not provided)
1
string $ref Object ref (if id not provided)
1
int $id Object id
1
array $options Options array
1
int $fk_element ID of element
1
string $element Code of element
1
object $file Filename
1
string $file_name Filename
1
string $file_name Filename
1
string $options is array('max_width', 'max_height')
1
string $uploaded_file Upload file
1
object $file File
1
string $error Error
1
string $index Index
1
int $matches ???
1
string $name ???
1
string $name Filename
1
string $type ???
1
string $index ???
1
string $uploaded_file Upload file
1
string $name Name
1
int $size Size
1
string $type Type
1
string $error Error
1
string $index Index
1
string $file File
1
string $element String of element ('product', 'facture', ...)
1
int $id Id of object
1
string $ref Ref of object to check
1
string $ref_ext Ref ext of object to check
1
CommonObject $object commonobject
1
array $params params
1
string $objref Customer ref
1
string $objref Supplier ref
1
int<0,1> $withcountry 1=Add country into address string
1
string $sep Separator to use to build string
1
int<0,1> $withregion 1=Add region into address string
1
string $extralangcode User extralanguages as value
1
string $modulepart Module related to document
1
int $initsharekey Init the share key if it was not yet defined
1
int $relativelink 0=Return full external link, 1=Return link relative to root of file
1
int $fk_socpeople Id of thirdparty contact (if source = 'external') or id of user (if source = 'internal') to link
1
int|string $type_contact Type of contact (code or id). Must be id or code found into table llx_c_type_contact. For example: SALESREPFOLL
'internal'|'external' $source Nature of contact ('internal' or 'external')
1
int $rowid Id of line contact-element
1
int $statut New status of link
1
int $type_contact_id Id of contact type (not modified if 0)
1
int $fk_socpeople Id of soc_people to update (not modified if 0)
1
int $rowid Id of contact link line to delete
1
string $source '' or 'internal' or 'external'
1
string $code Type of contact (code or id)
1
int $statusoflink Status of links to get (-1=all). Not used.
1
'external'|'thirdparty'|'internal' $source Source of contact: 'external' or 'thirdparty' (llx_socpeople) or 'internal' (llx_user)
1
int<0,1> $list 0:Returned array contains all properties, 1:Return array contains just id
1
string $code Filter on this code of contact type ('SHIPPING', 'BILLING', ...)
1
int $status Status of user or company
1
int[] $arrayoftcids Array with ID of type of contacts. If we provide this, we can make a ec.fk_c_type_contact in ($arrayoftcids) to avoid link on tc table. TODO Not implemented.
1
int $rowid Id of link between object and contact
1
'internal'|'external'|'all' $source 'internal', 'external' or 'all'
1
string $order Sort order by : 'position', 'code', 'rowid'...
int $notrigger 1=Does not execute triggers, 0=execute triggers
1
int $exclspec >0 = Exclude special product (product_type=9)
1
'none'|'auto'|'0'|'1' $roundingadjust 'none'=Do nothing, 'auto'=Use default method (MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND if defined, or '0'), '0'=Force mode Total of rounding, '1'=Force mode Rounding of total
1
int<0,1> $nodatabaseupdate 1=Do not update database total fields of the main object. Update only properties in memory. Can be used to save SQL when this method is called several times, so we can do it only once at end.
1
?Societe $seller If roundingadjust is '0' or '1' or maybe 'auto', it means we recalculate total for lines before calculating total for object and for this, we need seller object (used to analyze lines to check corrupted data).
1
string $origin Linked element type
1
int $origin_id Linked element id
1
User $f_user User that create
1
?int $sourceid Object source id (if not defined, $this->id)
1
string $sourcetype Object source type (if not defined, $this->element)
1
?int $targetid Object target id (if not defined, $this->id)
1
string $targettype Object target type (if not defined, $this->element)
1
string $clause 'OR' or 'AND' clause used when both source id and target id are provided
1
int<0,1> $alsosametype 0=Return only links to object that differs from source type. 1=Include also link to objects of same type.
1
string $orderby SQL 'ORDER BY' clause
1
int<0,1>|string $loadalsoobjects Load also the array $this->linkedObjects. Use 0 to not load (increase performances), Use 1 to load all, Use value of type ('facture', 'facturerec', ...) to load only a type of object.
1
int $rowid Row id of line to delete. If defined, other parameters are not used.
1
string $field_select name of field we need to get a list
1
int $fk_object_where id of object we need to remove linked items
1
string $field_where name of field of object we need to delete linked items
1
int $status Status to set
1
int $elementId Id of element to force (use this->id by default if null)
1
string $elementType Type of element to force (use this->table_element by default)
1
string $trigkey Trigger key to use for trigger. Use '' means automatic but it is not recommended and is deprecated.
1
string $fieldstatus Name of status field in this->table_element
1
int $id Record id
1
string $ref Record ref
1
int $lineid Id of line
1
int $id Force id of object
1
int $entity Force entity to check
1
int $predefined -1=All, 0=Count free product/service only, 1=Count predefined product/service only, 2=Count predefined product, 3=Count predefined service
1
int $selected ID line selected
1
string $var Not used
1
int $selected ID line selected
1
''|'services' $restrictlist ''=All lines, 'services'=Restrict to services only
1
int[] $selectedLines Array of lines id for selected lines
1
CommonObjectLine $line Line
1
string $var Not used
1
int[] $selectedLines Array of lines id for selected lines
1
int $resource_id Resource id
1
string $resource_type 'resource'
1
int $busy Busy or not
1
int $mandatory Mandatory or not
1
int $rowid Id of resource line to delete
1
string $element element name (for trigger) TODO: use $this->element into commonobject class
1
string $modelspath Relative folder where generators are placed
1
string $modele Generator to use. Caller must set it to from obj->model_pdf or from GETPOST for example.
1
Translate $outputlangs Output language to use
1
int<0,1> $hidedetails 1 to hide details. 0 by default
1
int<0,1> $hidedesc 1 to hide product description. 0 by default
1
int<0,1> $hideref 1 to hide product reference. 0 by default
1
?array $moreparams Array to provide more information
1
string $destfull Full path of file to index
1
int $update_main_doc_field Update field main_doc field into the table of the object.
1
string $file Path file in UTF8 to original file to create thumbs from.
1
string $file Path file in UTF8 to original file to delete thumbs.
1
string $fieldname Name of field
1
string $alternatevalue Alternate value to use
1
string $type Type of data
1
string $onlykey Only the following key is filled. When we make update of only one language field ($action = 'update_languages'), calling page must set this to avoid to have other languages being reset.
1
int $id ID of object
1
int $rowid Id of line. Use the id of object if not defined. Deprecated. Function must be called without parameters.
1
array{}|array{label:array,type:array,size:array,default:array,computed:array,unique:array,required:array,param:array,perms:array,list:array|array,pos:array,totalizable:array,help:array,printable:array,enabled:array,langfile:array,css:array,csslist:array,hidden:array,mandatoryfieldsofotherentities?:array,loaded?:int,count:int} $optionsArray Array resulting of call of extrafields->fetch_name_optionals_label(). Deprecated. Function must be called without parameters.
1
string $key Key of the extrafield to update (without starting 'options_')
1
string $key Key of the extrafield (without starting 'options_')
1
?array{type:string,label:string,enabled:int<0,2>|string,position:int,notnull?:int,visible:int,noteditable?:int,default?:string,index?:int,foreignkey?:string,searchall?:int,isameasure?:int,css?:string,csslist?:string,help?:string,showoncombobox?:int,disabled?:int,arrayofkeyval?:array,comment?:string} $val Array of properties for field to show (used only if ->fields not defined)
1
string|string[] $value Preselected value to show (for date type it must be in timestamp format, for amount or price it must be a php numeric value, for array type must be array)
1
int<0,1> $nonewbutton Force to not show the new button on field that are links to object
1
array{type:string,label:string,enabled:int<0,2>|string,position:int,notnull?:int,visible:int,noteditable?:int,default?:string,index?:int,foreignkey?:string,searchall?:int,isameasure?:int,css?:string,csslist?:string,help?:string,showoncombobox?:int,disabled?:int,arrayofkeyval?:array,comment?:string} $val Array of properties of field to show
1
string $key Key of attribute
1
string $value Preselected value to show (for date type it must be in timestamp format, for amount or price it must be a php numeric value)
1
string $moreparam To add more parameters on html tag
1
string $keysuffix Prefix string to add into name and id of field (can be used to avoid duplicate names)
1
string $keyprefix Suffix string to add into name and id of field (can be used to avoid duplicate names)
1
mixed $morecss Value for CSS to use (Old usage: May also be a numeric to define a size).
1
string $fieldKey Key of attribute to clear
1
string $fieldKey Key of attribute
1
string $msg the field error message
1
array|string,position:int,notnull?:int,visible:int,noteditable?:int,default?:string,index?:int,foreignkey?:string,searchall?:int,isameasure?:int,css?:string,csslist?:string,help?:string,showoncombobox?:int,disabled?:int,arrayofkeyval?:array,comment?:string}> $fields Array of properties of field to show
1
Extrafields $extrafields Extrafield Object
1
string $mode Show output ('view') or input ('create' or 'edit') for extrafield
string $keysuffix Suffix string to add after name and id of field (can be used to avoid duplicate names)
1
string $keyprefix Prefix string to add before name and id of field (can be used to avoid duplicate names)
1
string $onetrtd All fields in same tr td. Used by objectline_create.tpl.php for example.
1
string $display_type "card" for form display, "line" for document line display (extrafields on propal line, order line, etc...)
1
string $type Type for prefix
1
int $origin_id Old thirdparty id (the thirdparty to delete)
1
int $dest_id New thirdparty id (the thirdparty that will received element of the other)
1
string[] $tables Tables that need to be changed
1
int<0,1> $ignoreerrors Ignore errors. Return true even if errors. We need this when replacement can fails like for categories (categorie of old thirdparty may already exists on new one)
1
int $origin_id Old product id (the product to delete)
1
int $dest_id New product id (the product that will received element of the other)
1
string[] $tables Tables that need to be changed
1
int<0,1> $ignoreerrors Ignore errors. Return true even if errors. We need this when replacement can fails like for categories (categorie of old product may already exists on new one)
1
float $unitPrice Product unit price
1
float $discountPercent Line discount percent
1
int $fk_product Product id
1
string $modulepart Module part
1
string $imagesize Image size
1
string $modulepart 'product', 'ticket', ...
1
string $sdir Directory to scan (full absolute path)
1
int<0,1>|''|'small' $size 0 or ''=original size, 1 or 'small'=use thumbnail if possible
1
int $nbmax Nombre maximum de photos (0=pas de max)
1
int $nbbyrow Number of image per line or -1 to use div separator or 0 to use no separator. Used only if size=1 or 'small'.
1
int $showfilename 1=Show filename
1
int $showaction 1=Show icon with action links (resize, delete)
1
int $maxHeight Max height of original image when size='small' (so we can use original even if small requested). If 0, always use 'small' thumb image.
1
int $maxWidth Max width of original image when size='small'
1
int $nolink Do not add a href link to view enlarged imaged into a new tab
1
int|string $overwritetitle Do not add title tag on image
1
int $usesharelink Use the public shared link of image (if not available, the 'nophoto' image will be shown instead)
1
string $cache A string if we want to use a cached version of image
1
string $addphotorefcss Add CSS to img of photos
1
stdClass $obj Contain data of object from database
1
string $alias String of alias of table for fields. For example 't'. It is recommended to use '' and set alias into fields definition.
1
string[] $excludefields Array of fields to exclude
1
string|int $value Value to protect
1
array{type:string,label:string,enabled:int<0,2>|string,position:int,notnull?:int,visible:int,noteditable?:int,default?:string,index?:int,foreignkey?:string,searchall?:int,isameasure?:int,css?:string,csslist?:string,help?:string,showoncombobox?:int,disabled?:int,arrayofkeyval?:array,comment?:string} $fieldsentry Properties of field
int<0,1> $multicurrency Return multicurrency_amount instead of amount
1
CommonInvoice $invoice Object invoice (customer of supplier)
1
int<-1,1> $multicurrency 1=Return multicurrency_amount instead of amount. TODO Add a mode multicurrency = -1 to return array with amount + multicurrency amount
1
int<-1,1> $multicurrency 1=Return multicurrency_amount instead of amount. TODO Add a mode multicurrency = -1 to return array with amount + multicurrency amount
1
int<-1,1> $multicurrency Return multicurrency_amount instead of amount. TODO Add a mode multicurrency = -1 to return array with amount + multicurrency amount
1
int<0,1> $withpicto 0=No picto, 1=Include picto into link, 2=Picto only
1
string $option Where to link to ('invoice' or 'discount')
1
DoliDB $db Database handler
1
string $menu_handler Menu handler
1
User $user User that load
1
string $mymainmenu Value for mainmenu to filter menu to load (always '')
1
array,type:string,fk_mainmenu:string,fk_leftmenu:string,url:string,titre:string,perms:string,target:string,mainmenu:string,leftmenu:string,position:int,level?:int,prefix:string}> $tabMenu If array with menu entries already loaded, we put this array here (in most cases, it's empty)
1
Menu $newmenu Menu array to complete (in most cases, it's empty, may be already initialized with some menu manager like eldy)
1
string $mymainmenu Value for mainmenu to filter menu to load (often $_SESSION["mainmenu"])
1
array,type:string,fk_mainmenu:string,fk_leftmenu:string,url:string,titre:string,perms:string,target:string,mainmenu:string,leftmenu:string,position:int,level?:int,prefix:string}> $tabMenu Array with menu entries already loaded
1
string $mymainmenu Value for mainmenu that defined mainmenu
1
string $myleftmenu Value for left that defined leftmenu
1
int $type_user Looks for menu entry for 0=Internal users, 1=External users
1
string $menu_handler Name of menu_handler used ('auguria', 'eldy'...)
1
array,type:string,fk_mainmenu:string,fk_leftmenu:string,url:string,titre:string,perms:string,target:string,mainmenu:string,leftmenu:string,position:int,level?:int,prefix:string}> $tabMenu Array to store new entries found (in most cases, it's empty, but may be already filled)
1
array,type:string,fk_mainmenu:string,fk_leftmenu:string,url:string,titre:string,perms:string,target:string,mainmenu:string,leftmenu:string,position:int,level?:int,prefix:string}> $tab Tab array with all menu entries
1
int $pere Id of parent
1
int $level Level
1
User $user Object of user that ask creation
1
User $user User executing update
1
array $links array of Link objects to fill
1
string $objecttype type of the associated object in dolibarr
1
int $objectid id of the associated object in dolibarr
1
string $sortfield field used to sort
1
string $sortorder sort order
1
DoliDB $dbs Database handler
1
string $objecttype Type of the associated object in dolibarr
1
int $objectid Id of the associated object in dolibarr
1
int $rowid Id of link to load
1
User $user Object suer
1
array $socialnetworks Array of social networks
1
int $colspan Colspan
1
User $user User that delete
1
int $mode 0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=Short label + Picto
1
string $htmlname Name of HTML select
1
int $useempty Show empty value or not
1
int $useempty 1=Add an empty value in list
1
Website $website Object Website
1
string $htmlname Name of select zone
1
int $pageid Preselected container ID
1
int $showempty Show empty record
1
string $action Action on page that use this select list
1
array $excludeids Exclude some ID in list
1
string $htmlname htmlname
1
string $geojson json of geometric objects
1
string $centroidjson json of geometric center of object
1
string $markertype type of marker, point, multipts, linestrg, polygon
1
string $urlRSS Url to parse
1
int $maxNb Max nb of records to get (0 for no limit)
1
int $cachedelay 0=No cache, nb of seconds we accept cache files (cachedir must also be defined)
1
string $cachedir Directory where to save cache file (For example $conf->externalrss->dir_temp)
1
string $p Start
1
string $element Tag
1
array $attrs Attributes of tags
1
string $p P
1
string $text Tag
1
string $p P
1
string $el Tag
1
string $str1 Str1
1
string $str2 Str2
1
string $text Text
1
string $el El
1
string $text Text
1
array $item A parsed item of a ATOM feed
1
int $maxlength (optional) The maximum length for the description
1
array $feed The ATOM feed that possible contain a link to a logo or icon
1
string $bindDn DN
1
string $pass Password
1
User $user Object user that create
1
User $user Object user that modify
1
string $dn Old DN entry key (uid=qqq,ou=xxx,dc=aaa,dc=bbb) (before update)
1
string $newrdn New RDN entry key (uid=qqq)
1
string $newparent New parent (ou=xxx,dc=aaa,dc=bbb)
1
User $user Object user that modify
1
bool $deleteoldrdn If true the old RDN value(s) is removed, else the old RDN value(s) is retained as non-distinguished values of the entry.
1
User $user Object user that update
1
string $olddn Old DN entry key (before update)
1
string $newrdn New RDN entry key (uid=qqq) (for ldap_rename)
1
string $newparent New parent (ou=xxx,dc=aaa,dc=bbb) (for ldap_rename)
1
string $host Server host or address
1
int $port Server port (default 389)
1
int $timeout Timeout in second (default 1s)
1
string $filterrecord Record
1
string $attribute Attributes
1
string $search Value of field to search, '*' for all. Not used if $activefilter is set.
string $useridentifier Name of key field (Ex: uid).
1
array $attributeArray Array of fields required. Note this array must also contain field $useridentifier (Ex: sn,userPassword)
1
int $activefilter '1' or 'user'=use field this->filter as filter instead of parameter $search, 'group'=use field this->filtergroup as filter, 'member'=use field this->filtermember as filter
1
array $attributeAsArray Array of fields wanted as an array not a string
int $linenumber The number of the line for the substitution of "object_line_pos"
1
Expedition $object Main object to use as data source
1
string $array_key Name of the key for return array
1
Object $object Dolibarr Object
1
boolean|int $recursive Want to fetch child array or child object.
1
Object $object Object with extrafields (must have $object->array_options filled)
1
array $array_to_fill Substitution array
1
Extrafields $extrafields Extrafields object
1
string $array_key Prefix for name of the keys into returned array
1
float $x Abscissa of first point
1
float $y Ordinate of first point
1
float $l ??
1
float $h ??
1
int $hidebottom Hide bottom
1
array $a PDF lines array fields configs
1
array $b PDF lines array fields configs
1
object $object common object
1
Translate $outputlangs langs
1
string $colKey the column key
1
string $colKey the column key
1
string $newColKey the new column key
1
array $defArray a single column definition array
1
string $targetCol target column used to place the new column beside
1
bool $insertAfterTarget insert before or after target column ?
1
string $columnText column text
1
object $object CommonObject
1
int $i the $object->lines array key
1
int $hideref hide ref
1
int $hidedesc hide desc
1
int $issupplierline if object need supplier product
1
object $object Common object
1
string $extrafieldKey The extrafield key
1
Translate $outputlangs The output langs (if value is __(XXX)__ we use it to translate it).
1
object $object line of common object
1
array $params array of additional parameters
1
float $tab_top Tab top position
1
float $tab_height Default tab height
1
Translate $outputlangs Output language
1
int $hidetop Hide top
1
object $object common object det
1
Object $object Common object
1
Translate $outputlangs Langs
1
int $hidedetails Do not show line details
1
int $hidedesc Do not show desc
1
int $hideref Do not show ref
1
int $selected preselect status
1
string $htmlname Name of HTML select
1
int $useempty 1=Add empty line
1
int $useshortlabel Use short labels
1
int $selected Preselected type
1
string $htmlname Name of field in form
1
int $showempty Add an empty field
1
int $active 1=Active only, 0=Unactive only, -1=All
1
array $attributes an array of attributes keys and values,
1
Translate $outputLangs if needed can use another lang
1
bool $editMode true will display output on edit mod
1
bool $editMode True will display output on edit modECM
1
bool $noMessageInUpdate display event message on errors and success
1
FormSetupItem $item the setup item
1
bool $editMode Display as edit mod
1
array $params an array of arrays of params from old modulBuilder params
1
string $confKey the conf name to store
1
array $params an array of params from old modulBuilder params
1
string $confKey the conf key used in database
1
string $targetItemKey target item used to place the new item beside
1
bool $insertAfterTarget insert before or after target item ?
1
bool $cache To use cache or not
1
int $rank the item rank
1
string $itemKey the item key
1
FormSetupItem $a formSetup item
1
FormSetupItem $b formSetup item
1
string $confKey the conf key used in database
1
string $type 'dolibarr' (dolibarr password rules apply) or 'generic'
1
string $type possible values based on old module builder setup : 'string', 'textarea', 'category:'.Categorie::TYPE_CUSTOMER', 'emailtemplate', 'thirdparty_type'
1
array|string $errors the error text
1
string $templateType email template type
1
int $catType Type of category ('customer', 'supplier', 'contact', 'product', 'member'). Old mode (0, 1, 2, ...) is deprecated.
1
array $fieldOptions A table of field options
1
array $fieldOptions A table of field options
1
string[] $arraycontext Array list of searched hooks tab/features. For example: 'thirdpartycard' (for hook methods into page card thirdparty), 'thirdpartydao' (for hook methods into Societe), ...
1
string $method Name of method hooked ('doActions', 'printSearchForm', 'showInputField', ...)
int $sectionid If upload must be done inside a particular ECM section (is sectionid defined, sectiondir must not be)
1
int $perm Value of permission to allow upload
1
int $size Length of input file area. Deprecated.
1
Object $object Object to use (when attachment is done on an element)
1
string $options Add an option column
1
integer $useajax Use fileupload ajax (0=never, 1=if enabled, 2=always whatever is option).
1
string $savingdocmask Mask to use to define output filename. For example 'XXXXX-__YYYYMMDD__-__file__'
1
integer $linkfiles 1=Also add form to link files, 0=Do not show form to link files
1
string $htmlname Name and id of HTML form ('formuserfile' by default, 'formuserfileecm' when used to upload a file in ECM)
1
string $accept Specifies the types of files accepted (This is not a security check but an user interface facility. eg '.pdf,image/*' or '.png,.jpg' or 'video/*')
1
string $sectiondir If upload must be done inside a particular directory (if sectiondir defined, sectionid must not be)
1
int $usewithoutform 0=Default, 1=Disable
1
int $capture 1=Add tag capture="capture" to force use of micro or video recording to generate file. When setting this to 1, you must also provide a value for $accept.
1
int $disablemulti 0=Default, 1=Disable multiple file upload
1
int $nooutput 0=Output result with print, 1=Return result
string $modulesubdir Sub-directory to scan (Example: '0/1/10', 'FA/DD/MM/YY/9999'). Use '' if file is not into subdir of module.
1
string $filedir Directory to scan
1
int $genallowed Generation is allowed (1/0 or array of formats)
1
integer $allowgenifempty Show warning if no model activated
1
int $iconPDF Show only PDF icon with link (1/0)
1
string $title Title to show on top of form
1
string $modulepart Module the files are related to ('propal', 'facture', 'facture_fourn', 'mymodule', 'mymodule:MyObject', 'mymodule_temp', ...)
1
string $modulesubdir Existing (so sanitized) sub-directory to scan (Example: '0/1/10', 'FA/DD/MM/YY/9999'). Use '' if file is not into a subdir of module.
1
string $filedir Directory to scan (must not end with a /). Example: '/mydolibarrdocuments/facture/FAYYMM-1234'
1
int|string[] $genallowed Generation is allowed (1/0 or array list of templates)
1
integer $allowgenifempty Allow generation even if list of template ($genallowed) is empty (show however a warning)
1
int $iconPDF Deprecated, see getDocumentsLink
1
string $title Title to show on top of form. Example: '' (Default to "Documents") or 'none'
1
string $morepicto Add more HTML content into cell with picto
1
Object|null $object Object when method is called from an object card.
1
int $hideifempty Hide section of generated files if there is no file
1
string $removeaction (optional) The action to remove a file
1
string $tooltipontemplatecombo Text to show on a tooltip after the combo list of templates
string $modulesubdir Sub-directory to scan (Example: '0/1/10', 'FA/DD/MM/YY/9999'). Use '' if file is not into subdir of module.
1
string $filedir Full path to directory to scan
1
string $filter Filter filenames on this regex string (Example: '\.pdf$')
1
string $morecss Add more css to the download picto
1
int $allfiles 0=Only generated docs, 1=All files
1
array $filearray Array of files loaded by dol_dir_list('files') function before calling this.
1
Object|null $object Object on which document is linked to.
1
string $modulepart Value for modulepart used by download or viewimage wrapper.
1
string $param Parameters on sort links (param must start with &, example &aaa=bbb&ccc=ddd)
1
int $forcedownload Force to open dialog box "Save As" when clicking on file.
1
string $relativepath Relative path of docs (autodefined if not provided), relative to module dir, not to MAIN_DATA_ROOT.
1
int $permonobject Permission on object (so permission to delete or crop document)
1
int $useinecm Change output for use in ecm module:
1
string $textifempty Text to show if filearray is empty ('NoFileFound' if not defined)
1
int $maxlength Maximum length of file name shown.
1
string $title Title before list. Use 'none' to disable title.
1
string $url Full url to use for click links ('' = autodetect)
1
int $showrelpart 0=Show only filename (default), 1=Show first level 1 dir
1
int $permtoeditline Permission to edit document line (You must provide a value, -1 is deprecated and must not be used any more)
1
string $upload_dir Full path directory so we can know dir relative to MAIN_DATA_ROOT. Fill this to complete file data with database indexes.
1
string $sortfield Sort field ('name', 'size', 'position', ...)
1
string $sortorder Sort order ('ASC' or 'DESC')
1
int $disablemove 1=Disable move button, 0=Position move is possible.
1
int $addfilterfields Add the line with filters
1
int $disablecrop Disable crop feature on images (-1 = auto, prefer to set it explicitly to 0 or 1)
1
string $moreattrondiv More attributes on the div for responsive. Example 'style="height:280px; overflow: auto;"'
1
string $upload_dir Directory that was scanned. This directory will contains files into subdirs REF/files
1
array $filearray Array of files loaded by dol_dir_list function before calling this function
1
string $modulepart Value for modulepart used by download wrapper. Value can be $object->table_name (that is 'myobject' or 'mymodule_myobject') or $object->element.'-'.$module (for compatibility purpose)
1
string $param Parameters on sort links
1
int $forcedownload Force to open dialog box "Save As" when clicking on file
1
string $relativepath Relative path of docs (autodefined if not provided)
1
int $permissiontodelete Permission to delete
1
int $useinecm Change output for use in ecm module
1
string $textifempty Text to show if filearray is empty
1
int $maxlength Maximum length of file name shown
1
string $url Full url to use for click links ('' = autodetect)
1
int $addfilterfields Add line with filters
1
Object $object Object
1
int $permissiontodelete Deletion is allowed
1
string $action Action
1
string $selected ???
1
string $param More param to add into URL
1
array $file Array with data of file. Example: array('name'=>...)
1
string $relativepath Relative path of docs
1
integer $ruleforpicto Rule for picto: 0=Use the generic preview picto, 1=Use the picto of mime type of file). Use a negative value to show a generic picto even if preview not available.
1
int $socid Id third party (-1=all, 0=only interventions not linked to a third party, id=intervention not linked or linked to third party id)
1
int $selected Id intervention preselected
1
int $showempty Show empty line ('1' or string to show for empty line)
1
bool $draftonly Show only drafts intervention
1
int $year number
1
int $format 0=Label of abscissa is a translated text, 1=Label of abscissa is month number, 2=Label of abscissa is first letter of month
1
int $year year number
1
int $format 0=Label of abscissa is a translated text, 1=Label of abscissa is month number, 2=Label of abscissa is first letter of month
1
string $sql SQL request
1
string $sql SQL request
1
string $sql SQL
1
string $sql SQL
1
int $year Year
1
int $format 0=Label of abscissa is a translated text, 1=Label of abscissa is month number, 2=Label of abscissa is first letter of month
1
string $sql SQL
1
int $id_incoterm Id of incoterm to set or '' to remove
1
string $location location of incoterm
1
string $selectid Preselected journal code
1
string $htmlname Name of field in html form
1
int $nature Limit the list to a particular type of journals (1:various operations / 2:sale / 3:purchase / 4:bank / 9: has-new)
1
int $select_in 0=selectid value is the journal rowid (default) or 1=selectid is journal code
1
int $select_out Set value returned by select. 0=rowid (default), 1=code
1
string $morecss More css non HTML object
1
string $usecache Key to use to store result into a cache. Next call with same key will reuse the cache.
int $nature Limit the list to a particular type of journals (1:various operations / 2:sale / 3:purchase / 4:bank / 9: has-new)
1
int $showempty Add an empty field
1
int $select_in 0=selectid value is the journal rowid (default) or 1=selectid is journal code
1
int $select_out Set value returned by select. 0=rowid (default), 1=code
1
string $morecss More css non HTML object
1
string $usecache Key to use to store result into a cache. Next call with same key will reuse the cache.
1
int $disabledajaxcombo Disable ajax combo box.
1
int $selected Preselected type
1
int $allcountries All countries
1
string $htmlname Name of select field
1
string $selectedkey Value
1
string $selectid Preselected id of accounting accounts (depends on $select_in)
1
string $htmlname Name of HTML field id. If name start with '.', it is name of HTML css class, so several component with same name in different forms can be used.
1
int|string $showempty 1=Add an empty field, 2=Add an empty field+'None' field
1
array> $event Event options
1
int $select_in 0=selectid value is a aa.rowid (default) or 1=selectid is aa.account_number
1
int $select_out Set value returned by select. 0=rowid (default), 1=account_number
1
string $morecss More css non HTML object
1
string $usecache Key to use to store result into a cache. Next call with same key will reuse the cache.
1
string $active Filter on status active or not: '0', '1' or '' for no filter
1
string $selectid Preselected pcg_type
1
string $htmlname Name of field in html form
1
int|string $showempty Add an empty field
1
string $morecss More css
1
string $usecache Key to use to store result into a cache. Next call with same key will reuse the cache.
1
string $labelhtmlname HTML name of label for autofill of account from name.
int $forceshowtitle Show title even if there is no actions to show
1
string $morecss More css on table
1
int $max Max number of record
1
string $moreparambacktopage More param for the backtopage
1
string $morehtmlcenter More html text on center of title line
1
int $assignedtouser Assign event by default to this user id (will be ignored if not enough permissions)
1
array|string $selected Type pre-selected (can be 'manual', 'auto' or 'AC_xxx'). Can be an array too.
1
string $htmlname Name of select field
1
string $excludetype A type to exclude ('systemauto', 'system', '')
1
integer $onlyautoornot 1=Group all type AC_XXX into 1 line AC_MANUAL. 0=Keep details of type, -1=Keep details and add a combined line "All manual", -2=Combined line is disabled (not implemented yet)
1
int $hideinfohelp 1=Do not show info help, 0=Show, -1=Show+Add info to tell how to set default value
1
int $multiselect 1=Allow multiselect of action type
1
int $nooutput 1=No output
1
string $morecss More css to add to SELECT component.
1
int $number numero de telephone
1
string $type Type ('cell')
1
string $type Type 'image/jpeg' or 'JPEG'
1
string $photo Photo
1
string $family Family name
1
string $first First name
1
string $additional Additional (e.g. second name, nick name)
1
string $prefix Title prefix (e.g. "Mr.", "Ms.", "Prof.")
1
string $suffix Suffix (e.g. "sen." for senior, "jun." for junior)
1
integer $date Date
1
string $label Label
1
string $address E-mail address
1
string $type (optional) The type of the e-mail (typical "PREF" or "INTERNET")
1
string $note Note
1
string $org Org
1
string $prodid Prodid
1
string $uid Uid
1
string $url URL
1
string $type Type
1
Object $object Object (User or Contact)
1
Societe|null $company Company. May be null
1
Translate $langs Lang object
1
string $urlphoto Full public URL of photo
1
string $geojson A json string
1
string $to Recipients emails (RFC 2822: "Name firstname [, ...]" or "email[, ...]" or "[, ...]"). Note: the keyword '__SUPERVISOREMAIL__' is not allowed here and must be replaced by caller.
1
string $from Sender email (RFC 2822: "Name firstname [, ...]" or "email[, ...]" or "[, ...]")
1
string $msg Message
1
array $filename_list List of files to attach (full path of filename on file system)
1
array $mimetype_list List of MIME type of attached files
1
array $mimefilename_list List of attached file name in message
1
string $addr_cc Email cc (Example: 'abc@def.com, ghk@lmn.com')
1
string $addr_bcc Email bcc (Note: This is autocompleted with MAIN_MAIL_AUTOCOPY_TO if defined)
1
int $deliveryreceipt Ask a delivery receipt
1
int $msgishtml 1=String IS already html, 0=String IS NOT html, -1=Unknown make autodetection (with fast mode, not reliable)
1
string $errors_to Email for errors-to
1
string $css Css option
1
string $trackid Tracking string (contains type and id of related element)
1
string $moreinheader More in header. $moreinheader must contains the "\r\n" at end of each line
1
string $sendcontext 'standard', 'emailing', 'ticket', 'password', ... (used to define which sending mode and parameters to use)
1
string $replyto Reply-to email (will be set to the same value than From by default if not provided)
1
string $upload_dir_tmp Temporary directory (used to convert images embedded as img src=data:image)
1
string $in_reply_to Message-ID of the message we reply to
1
string $references String with list of Message-ID of the thread ('<123> <456> ...')
1
string $stringtoencode String to encode
1
string $sourcefile Path to file to encode
1
string $message Add also a message
1
string $msg String
1
array $filename_list Array of filenames
1
array $mimefilename_list Array of mime types
1
string $msgtext Message string
1
array $filename_list Tableau
1
array $mimetype_list Tableau
1
array $mimefilename_list Tableau
1
array $cidlist Array of CID if file must be completed with CID code
1
array $images_list Array of array image
1
string $host Add ssl:// for SSL/TLS.
1
int $port Example: 25, 465
1
resource $socket Socket
1
string $response Response string
1
string $images_dir Path to store physical images files. For example $dolibarr_main_data_root.'/medias'
1
string $images_dir Location of where to store physically images files. For example $dolibarr_main_data_root.'/medias'
1
string $address Example: 'John Doe , Alan Smith ' or 'john@doe.com, alan@smith.com'
1
int $format 0=auto, 1=emails with <>, 2=emails without <>, 3=auto + label between ", 4 label or email, 5 mailto link
1
int $encode 0=No encode name, 1=Encode name to RFC2822
1
int $maxnumberofemail 0=No limit. Otherwise, maximum number of emails returned ($address may contains several email separated with ','). Add '...' if there is more.
1
string $address Example: 'John Doe , Alan Smith ' or 'john@doe.com, alan@smith.com'
1
User $user User that modify
1
string $selected Preselected value
1
int $short Use short labels
1
int $excludedraft 0=All status, 1=Exclude draft status
1
int $showempty 1=Add empty line
1
string $mode 'customer', 'supplier'
1
string $htmlname Name of select field
1
DoliDB|null $db Database handler
1
string|array $selected Language pre-selected. Can be an array if $multiselect is 1.
1
string $htmlname Name of HTML select
1
int $showauto Show 'auto' choice
1
array $filter Array of keys to exclude in list (opposite of $onlykeys)
1
int|string $showempty '1'=Add empty value or 'string to show'
1
int $showwarning Show a warning if language is not complete
1
int $disabled Disable edit of select
1
string $morecss Add more css styles
1
int $showcode 1=Add language code into label at beginning, 2=Add language code into label at end
1
int $forcecombo Force to use combo box (so no ajax beautify effect)
1
int $multiselect Make the combo a multiselect
1
array $onlykeys Array of language keys to restrict list with the following keys (opposite of $filter). Example array('fr', 'es', ...)
1
int $mainlangonly 1=Show only main languages ('fr_FR' no' fr_BE', 'es_ES' not 'es_MX', ...)
1
string $selected Preselected menu value
1
array $dirmenuarray Array of directories to scan
1
string $moreattrib More attributes on html select tag
1
string $selected Menu pre-selected
1
string[] $dirmenuarray Directories to scan
1
string $selected Menu pre-selectionnee
1
string $htmlname Nom de la zone select
1
string $selected Paper format pre-selected
1
string $htmlname Name of HTML select field
1
string $filter Value to filter on code
1
int $showempty Add empty value
1
int $forcecombo Force to load all values and output a standard combobox (with no beautification)
1
string $htmlname Name of HTML select component
1
string $type Type preselected
1
array $typewecanchangeinto Array of possible switch combination from 1 type to another one. This will grey not possible combinations.
1
DoliDB $db Database handler
1
int $type_user Type of user
1
string $forcemainmenu To force mainmenu to load
1
string $forceleftmenu To force leftmenu to load
1
string $mode 'top', 'left', 'jmobile'
1
array $moredata An array with more data to output
1
string $host database server host
1
string $login login
1
string $passwd password
1
string $name name of database (not used for mysql, used for pgsql)
1
integer $port Port of database server
1
int $usesavepoint 0=Default mode, 1=Run a savepoint before and a rollbock to savepoint if error (this allow to have some request with errors inside global transactions).
1
int $result_mode Result mode (not used with sqlite)
1
SQLite3Result $resultset Curseur de la requete voulue
1
SQLite3Result $resultset Curseur de la requete voulue
1
string $table Table name
1
string $field_name Field name to add
1
string $dolibarr_main_db_host Ip serveur
1
string $dolibarr_main_db_user Nom user a creer
1
string $dolibarr_main_db_pass Password user a creer
1
string $name Function name to define in Sqlite
1
int $arg_count Arguments count
1
int $year Year
1
int $month Month
1
int $day Day
1
int $daynr ???
1
bool $sunday_first_day_of_week ???
1
int $year Year
1
int $month Month
1
int $day Day
1
int $week_behaviour Week behaviour, bit masks: WEEK_MONDAY_FIRST, WEEK_YEAR, WEEK_FIRST_WEEKDEAY
1
int $calc_year ??? Year where the week started
1
string $test Test string (example: 'cd.statut=0', 'field IS NULL')
1
string $resok resultat si test equal
1
string $resko resultat si test non equal
1
string $stringtosanitize String to escape
1
int $allowsimplequote 1=Allow simple quotes in string. When string is used as a list of SQL string ('aa', 'bb', ...)
1
int $allowsequals 1=Allow equals sign
1
int $allowsspace 1=Allow space char
1
int $allowschars 1=Allow a-z chars
1
string $log Add more log to default log line
1
string $sortorder Sort order, separated by comma. Example: 'ASC,DESC'. Note: If the quantity for sortorder values is lower than sortfield, we used the last value for missing values.
1
string $string Date in a string (YYYYMMDDHHMMSS, YYYYMMDD, YYYY-MM-DD HH:MM:SS)
1
mixed $gm 'gmt'=Input information are GMT values, 'tzserver'=Local to server TZ
1
string $sql The sql query string
1
string $sql The sql query string. Must end with "... LIMIT x"
1
string $line SQL request line to convert
1
string $type Type of SQL order ('ddl' for insert, update, select, delete or 'dml' for create, alter...)
1
bool $unescapeslashquot Unescape "slash quote" with "quote quote"
1
string $host Database server host
1
string $login Login
1
string $passwd Password
1
string $name Name of database (not used for mysql, used for pgsql)
1
integer $port Port of database server
1
int $result_mode Result mode (not used with pgsql)
1
resource $resultset Curseur de la requete voulue
1
resource $resultset Resulset of requests
1
string $test Test expression (example: 'cd.statut=0', 'field IS NULL')
1
string $resok Result to generate when test is True
1
string $resko Result to generate when test is False
1
string $tab Table name concerned by insert. Ne sert pas sous MySql mais requis pour compatibilite avec PostgreSQL
string $dolibarr_main_db_user Name of user to create
1
string $dolibarr_main_db_pass Password of user to create
1
string $host Database server host
1
string $login Login
1
string $passwd Password
1
string $name Name of database (not used for mysql, used for pgsql)
1
integer $port Port of database server
1
int $result_mode Result mode (Using 1=MYSQLI_USE_RESULT instead of 0=MYSQLI_STORE_RESULT will not buffer the result and save memory)
1
mysqli_result $resultset Resulset of requests
1
string $dolibarr_main_db_host Ip server or '%'
1
string $dolibarr_main_db_user Nom new user
1
string $dolibarr_main_db_pass Password for the new user
1
string $socket Socket
1
string $resok result if test is equal
1
string $resko result if test is not equal
1
int $param Date TMS to convert
1
string $line SQL request line to convert
1
string $type Type of SQL order ('ddl' for insert, update, select, delete or 'dml' for create, alter...)
1
mysqli_result|resource|SQLite3Result $resultset Cursor of the desired request
1
string $stringtoencode String to escape
1
string $stringtosanitize String to escape
1
string $tab Table name concerned by insert. Not used under MySql but required for compatibility with Postgresql
1
string $log Add more log to default log line
1
string $query SQL query string
1
int $usesavepoint 0=Default mode, 1=Run a savepoint before and a rollback to savepoint if error (this allow to have some request with errors inside global transactions).
1
string $type Type of SQL order ('ddl' for insert, update, select, delete or 'dml' for create, alter...)
1
int $result_mode Result mode
1
string $host Database server host
1
string $login Login
1
string $passwd Password
1
string $name Name of database (not used for mysql, used for pgsql)
1
int $port Port of database server
1
mysqli_result|resource|SQLite3Result $resultset Resulset of requests
1
string $primary_key Name of the field that will be the primary key
1
string $type Type of the table
1
array $unique_keys Associative array Name of fields that will be unique key => value
1
array $fulltext_keys Field name table that will be indexed in fulltext
1
array $keys Table of key fields names => value
1
string $field_position Optional ex .: "after field stuff"
1
array{type:string,label:string,enabled:int<0,2>|string,position:int,notnull?:int,visible:int,noteditable?:int,default?:string,index?:int,foreignkey?:string,searchall?:int,isameasure?:int,css?:string,csslist?:string,help?:string,showoncombobox?:int,disabled?:int,arrayofkeyval?:array,comment?:string} $field_desc Array with description of field format
1
string $field Optional : Name of field if we want description of field
1
string $dolibarr_main_db_host Server IP
1
string $dolibarr_main_db_user Username to create
1
string $dolibarr_main_db_pass User password to create
int $delivery_time_days Delay in days for delivery (max). May be '' if not defined.
1
array $localtaxes_array Array with localtaxes info array('0'=>type1,'1'=>rate1,'2'=>type2,'3'=>rate2) (loaded by getLocalTaxesFromRate(vatrate, 0, ...) function).
1
string $newdefaultvatcode Default vat code
1
float $multicurrency_buyprice Purchase price for the quantity min in currency
1
float $multicurrency_tx Rate currency
1
string $multicurrency_code Currency code
1
string $desc_fourn Custom description for product_fourn_price
1
string $barcode Barcode
1
int $fk_barcode_type Barcode type
1
array $options Extrafields of product fourn price
1
int $rowid Line id
1
int $ignore_expression Ignores the math expression for calculating price and uses the db value instead
1
int $prodid Id of product
1
int $limit Limit
1
int $offset Offset
1
int $socid Filter on a third party id
1
int $prodid Product id
1
float $qty Minimum quantity
1
int $socid get min price for specific supplier
1
int $expression_id Expression
1
int $withpicto Add picto
1
string $option Target of link ('', 'customer', 'prospect', 'supplier')
1
int $maxlen Max length of name
1
integer $notooltip 1=Disable tooltip
1
int $showunitprice Show "Unit price" into output string
1
int $showsuptitle Show "Supplier" into output string
1
int $maxlen Max length of name
1
integer $notooltip 1=Disable tooltip
1
array $productFournList list of ProductFournisseur objects
1
int $product_fourn_price_id Id of supplier price
1
string $sortfield Sort field
1
string $sortorder Sort order
1
int $limit Limit
1
int $offset Offset
1
array $productFournLogList list of ProductFournisseur price log objects
1
int $maxlength Maxlength of ref
1
int $notooltip No tooltip
1
string $morecss ''=Add more css on link
1
int $add_label 0=Default, 1=Add label into string, >1=Add first chars into string
1
string $sep ' - '=Separator between ref and label if option 'add_label' is set
1
User $user Object user who adds/changes price
1
integer $datec date create
1
float $buyprice price for qty
1
float $qty qty for price
1
float $multicurrency_buyprice Purchase price for the quantity min in currency
1
float $multicurrency_unitBuyPrice Unit Purchase price in currency
1
float $multicurrency_tx Rate currency
1
int $fk_multicurrency key multi currency
1
string $multicurrency_code Currency code
1
int $id ID of supplier order
1
string $product_ids Product ids to filter orders of (example '1' or '1,2,3') {@pattern /^[0-9,]*$/i}
1
string $status Filter by order status : draft | validated | approved | running | received_start | received_end | cancelled | refused
1
string $sqlfilterlines Other criteria to filter answers separated by a comma. Syntax example "(tl.fk_product:=:'17') and (tl.price:<:'250')"
1
int $id Id of supplier order to update
1
int $id ID of supplier order
1
string $source Source of the contact (internal, external, all).
1
string $type Type of the contact (BILLING, SHIPPING, CUSTOMER, SALESREPFOLL, ...)
1
int $id Id of supplier order to update
1
int $contactid Id of contact/user to add
1
string $type Type of the contact (BILLING, SHIPPING, CUSTOMER, SALESREPFOLL, ...)
1
string $source Source of the contact (external, internal)
1
int $id Id of supplier order to update
1
int $contactid Id of contact/user to add
1
string $type Type of the contact (BILLING, SHIPPING, CUSTOMER, SALESREPFOLL, ...).
1
string $source Source of the contact (internal, external).
1
int $id Supplier order ID
1
int $secondlevel 1=Does not execute triggers, 0= execute triggers
1
integer $date Date (unix timestamp in sec)
1
int $method Method
1
integer $closeopenorder Close order if everything is received {@required false}
1
string $comment Comment {@required false}
1
array $lines Array of product dispatches
1
int $typentid Id of type of third party for filter
1
int $status Status of donation for filter
1
int $id ID of order
1
string $sortfield Sort field
1
string $sortorder Sort order
1
int $limit Limit for list
1
int $page Page number
1
string $thirdparty_ids Thirdparty ids to filter orders of (example '1' or '1,2,3') {@pattern /^[0-9,]*$/i}
1
int $id Id of order to update
1
User $user User making payment
1
int $notrigger 0=launch triggers after, 1=disable triggers
1
string $mode 'payment_donation'
1
int $maxlen Max length
1
DoliDB $db Database handler
1
int $status Id statut
1
int $minimum Minimum
1
User $user User who created the donation
1
User $user Object utilisateur qui met a jour le don
1
int $id Id of donation to load
1
string $ref Ref of donation to load
1
int $id id of donation
1
int $userid User who validate the donation/promise
1
int $id id of donation
1
int $modepayment mode of payment
1
int $id id of donation
1
string $param 1=promesses de dons validees , 2=xxx, 3=encaisses
1
int $id ID of order
1
string $ref_ext External reference of object
1
string $thirdparty_ids Thirdparty ids to filter orders of (example '1' or '1,2,3') {@pattern /^[0-9,]*$/i}
1
string $sqlfilterlines Other criteria to filter answers separated by a comma. Syntax example "(tl.fk_product:=:'17') and (tl.price:<:'250')"
1
int $id Id of order
1
int $lineid Id of line to delete
1
int $id ID of order
1
string $type Type of the contact (BILLING, SHIPPING, CUSTOMER)
1
int $contactid Id of contact
1
int $id Id of the order
1
int $idwarehouse Warehouse ID to use for stock change (Used only if option STOCK_CALCULATE_ON_VALIDATE_ORDER is on)
1
int $proposalid Id of the proposal
1
int $warehouse_id Id of a warehouse
1
int $idwarehouse Warehouse ID to use for stock change (Used only if option STOCK_CALCULATE_ON_VALIDATE_ORDER is on)
1
int $notrigger Disable all triggers
1
Object $object Object source
1
User $user User making creation
1
string $desc Description of line
1
float $pu_ht Unit price (without tax)
1
float $qty Quantite
1
float $txtva Force Vat rate, -1 for auto (Can contain the vat_src_code too with syntax '9.9 (CODE)')
1
float $txlocaltax1 Local tax 1 rate (deprecated, use instead txtva with code inside)
1
float $txlocaltax2 Local tax 2 rate (deprecated, use instead txtva with code inside)
1
int $fk_product Id of product
1
float $remise_percent Percentage discount of the line
1
int $info_bits Bits of type of lines
1
int $fk_remise_except Id remise
1
float $pu_ttc Prix unitaire TTC
1
int|string $date_start Start date of the line - Added by Matelli (See http://matelli.fr/showcases/patchs-dolibarr/add-dates-in-order-lines.html)
1
int|string $date_end End date of the line - Added by Matelli (See http://matelli.fr/showcases/patchs-dolibarr/add-dates-in-order-lines.html)
1
int $type Type of line (0=product, 1=service). Not used if fk_product is defined, the type of product is used.
1
int $rang Position of line
1
int $fk_parent_line Parent line
1
int $fk_fournprice Id supplier price
1
int $pa_ht Buying price (without tax)
1
array $array_options extrafields array. Example array('options_codeforfield1'=>'valueforfield1', 'options_codeforfield2'=>'valueforfield2', ...)
1
string $origin Depend on global conf MAIN_CREATEFROM_KEEP_LINE_ORIGIN_INFORMATION can be 'orderdet', 'propaldet'..., else 'order','propal,'....
1
int $origin_id Depend on global conf MAIN_CREATEFROM_KEEP_LINE_ORIGIN_INFORMATION can be Id of origin object (aka line id), else object id
1
double $pu_ht_devise Unit price in currency
1
string $ref_ext line external reference
1
int $noupdateafterinsertline No update after insert of line
1
int $idproduct Product Id
1
float $qty Quantity
1
float $remise_percent Product discount relative
1
int|string $date_start Start date of the line
1
int|string $date_end End date of the line
1
int $id Id of object to load
1
string $notused Internal reference of other object
1
int $idremise Id for the fixed discount
1
int $only_product Return only physical products, not services
1
int $fk_product Add a filter on a product
1
int $filtre_statut Filtre sur statut
1
int $lineid Id of line to delete
1
User $user User qui positionne la remise
1
float $remise Discount (percent)
1
User $user User setting the discount
1
float|string $remise Discount (percent)
1
int<0,1> $notrigger 1=Does not execute triggers, 0= execute triggers
1
User $user User qui positionne la remise
1
float $remise Discount
1
int $date Date
1
User $user Object utilisateur qui modifie
1
int $availability_id Id du nouveau mode
1
int $demand_reason_id Id of new demand
1
User $user User that make change
1
string $ref_client Customer ref
1
int $rowid Id of line to update
1
string $desc Description of line
1
float $pu Unit price
1
float $qty Quantity
1
float $remise_percent Percent of discount
1
float $txtva Taux TVA
1
float $txlocaltax1 Local tax 1 rate
1
float $txlocaltax2 Local tax 2 rate
1
int $info_bits Miscellaneous information on line
1
int|string $date_start Start date of the line
1
int|string $date_end End date of the line
1
int $type Type of line (0=product, 1=service)
1
int $fk_parent_line Id of parent line (0 in most cases, used by modules adding sublevels into lines).
1
int $skip_update_total Keep fields total_xxx to 0 (used for special lines by some modules)
1
int $fk_fournprice Id of origin supplier price
1
int $pa_ht Price (without tax) of product when it was bought
bool $accepthigherpayment {@from body} Accept higher payments that it remains to be paid (optional)
1
int $id Id of payment
1
string $num_payment Payment number
1
array|null $data Datas to validate
1
int $id ID of template invoice
1
int $facid Id of source invoice
1
int $notrigger No trigger
1
array $onlylines Only the lines of the array
1
int $info_bits VAT npr or not ?
1
int $pa_ht Price (without tax) of product for margin calculation
1
int $notrigger Disable the trigger
1
int $origin_id Old product id
1
int $dest_id New product id
1
int $notrigger Disable the trigger
1
int $notrigger Disable the trigger
1
int $notrigger 1=Does not execute triggers, 0 otherwise
1
int $forceduedate If set, do not recalculate due date from payment condition but force it with value
1
User $user Object user that ask creation
1
int $fromid Id of object to clone
1
array $lines Ids of lines to use for invoice. If empty, all lines will be used.
1
Propal|Commande $origin The original proposal or order
1
int $date Invoice date
1
int $payment_terms_id Invoice payment terms
1
User $user Object user
1
int $notrigger 1=Does not execute triggers, 0= execute triggers
1
bool $autoValidateDeposit Whether to aumatically validate the deposit created
1
array $overrideFields Array of fields to force values
1
string $moretitle Add more text to title tooltip
1
int $addlinktonotes 1=Add link to notes
1
string $target Target of link ('', '_self', '_blank', '_parent', '_backoffice', ...)
1
int $rowid Id of object to load
1
string $ref Reference of invoice
1
string $ref_ext External reference of invoice
1
int $notused Not used
1
bool $fetch_situation Load also the previous and next situation invoice into $tab_previous_situation_invoice and $tab_next_situation_invoice
1
string $ref_client Customer ref
1
User $user User making the deletion.
1
string $force_number Reference to force on invoice
1
int $idwarehouse Id of warehouse to use for stock decrease if option to decrease on stock is on (0=no decrease)
1
int $batch_rule 0=do not decrement batch, else batch rule to use, 1=take in batches ordered by sellby and eatby dates
1
Translate $langs Translate object
1
double $pu_ht Unit price without tax (> 0 even for credit note)
1
double $txtva Force Vat rate, -1 for auto (Can contain the vat_src_code too with syntax '9.9 (CODE)')
1
double $txlocaltax1 Local tax 1 rate (deprecated, use instead txtva with code inside)
1
double $txlocaltax2 Local tax 2 rate (deprecated, use instead txtva with code inside)
1
int $fk_product Id of predefined product/service
1
double $remise_percent Percent of discount on line
1
int|string $date_start Date start of service
1
int|string $date_end Date end of service
1
int $fk_code_ventilation Code of dispatching into accountancy
1
int $fk_remise_except Id discount used
1
string $price_base_type 'HT' or 'TTC'
1
double $pu_ttc Unit price with tax (> 0 even for credit note)
1
int $type Type of line (0=product, 1=service). Not used if fk_product is defined, the type of product is used.
1
int $rang Position of line (-1 means last value + 1)
1
int $fk_prev_id Previous situation line id reference
1
double $pu_ht_devise Unit price in foreign currency
1
double $pu Prix unitaire (HT ou TTC selon price_base_type) (> 0 even for credit note lines)
1
int $date_start Date de debut de validite du service
1
int $date_end Date de fin de validite du service
1
double $txtva VAT Rate (Can be '8.5', '8.5 (ABC)')
1
string $price_base_type HT or TTC
1
int $info_bits Miscellaneous information
1
integer $rang rank of line
1
int $idline id of line to check
1
float $situation_percent progress percentage need to be test
1
FactureLigne $line Invoice line
1
int $percent Percentage
1
boolean $update_price Update object price
1
int $rowid Id of line to delete
1
float $remise Discount
1
User $user User that set discount
1
User $user Object user
1
string $modele Generator to use. Caller must set it to obj->model_pdf or GETPOST('model','alpha') for example.
1
int $rounding Minimum number of decimal to show. If 0, no change, if -1, we use min($conf->global->MAIN_MAX_DECIMALS_UNIT,$conf->global->MAIN_MAX_DECIMALS_TOT)
1
float $value value of retained warranty
1
int $timestamp date limit of retained warranty in timestamp format
1
string $dateYmd date limit of retained warranty in Y m d format
1
int|string $template Name (or id) of email template (Must be a template of type 'facture_send')
1
boolean $allow_validated_drafts return true if the invoice has been validated before returning to DRAFT state.
1
int $rowid id of invoice line to get
1
int $notrigger 1 no triggers
1
int $noerrorifdiscountalreadylinked 1=Do not make error if lines is linked to a discount and discount already linked to another
1
User $tmpuser User that deletes
1
int $invoiceid Invoice id
1
bool $include_credit_note Include credit note or not
1
int $notrigger 0=no, 1=yes (no update trigger)
1
int $id Id bank account
1
int $withpicto 0=Link, 1=Picto into link, 2=Picto
1
User $user User
1
int $notrigger No trigger
1
int $withpicto Add picto into link
1
string $type Type ('direct-debit' for direct debit or 'bank-transfer' for credit transfer)
1
User $user User object
1
string $motif Motif
1
int $date_rejet Date reject
1
int $bonid Bon id
1
int $facturation 1=Bill the reject
1
Facture $fac Invoice object
1
int $amounts If you want to get the amount of the order for each invoice
1
int $rowid id of invoice to retrieve
1
int $rowid Id de la facture a recuperer
1
int $invoice_id ID of invoice to add or ID of salary to add
1
int $client_id id invoice customer
1
string $number bank account number
1
string $type 'debit-order' or 'bank-transfer'
1
int $line_id ID of line added (returned parameter)
1
int $client_id ID of thirdparty for invoices, ID of user for salaries
1
string $number bank account number
1
int $error Id of error
1
int $rowid Id of object to load
1
string $ref Ref of direct debit
1
User $user Id of user
1
int $date date of action
1
string $type 'salary' for type=salary
1
User $user Id of user
1
int $date Date of action
1
int $method Method of transmission to bank (0=Internet, 1=Api...)
1
int $amounts If you want to get the amount of the order for each invoice or salary
1
string $type 'salary' for type=salary
1
string $type for type=salary
1
string $type for salary invoice
1
string $type 'direct-debit' or 'bank-transfer'
1
int $forsalary 0= for facture & facture_supplier, 1=for salary
1
int $banque dolibarr mysoc bank
1
int $agence dolibarr mysoc bank office (guichet)
1
string $mode real=do action, simu=test only
1
string $executiondate Date to execute the transfer
1
int $notrigger Disable triggers
1
int $did ID of an existing payment request. If $did is defined, we use the existing payment request.
1
string $sourcetype 'invoice' or 'salary'
1
User $user Object user that delete
1
int $rowid id of notification
1
DoliDB $db database handler
1
int $executiondate Timestamp date to execute transfer
string $storagePath where the actual files are stored
1
string $principalPrefix list of principals to iterate
1
string $collation
1
string $matchType
1
int $requestType
1
int $depth
1
array $mutations A list of updates
1
int $resultCode
1
int $resultCode
1
Tree|INode|array|null $treeOrNode The tree object
1
bool $sendResponse whether to send the HTTP response to the DAV client
1
mixed $default
1
array $yieldFirst
1
string $uri The new uri
1
array|\Traversable $fileProperties The list with nodes
1
bool $strip404s
1
$fileProperties
1
string[] $resourceType list of resourcetype values
1
array $mutations list of new properties values
1
string|string[] $resourceType
1
string|null $dataDir
1
string $name
1
string $contents
1
string|null $mimeType
1
INode[] $children
1
string $sourcePath The source location
1
string $destinationPath The full destination path
1
string $sourcePath The path to the file which should be moved
1
string $destinationPath The full destination path, so not just the destination parent node
1
array $paths list of nodes that must be fetched
1
string $destinationName
1
string $method
1
string $url
1
string|resource|null $body
1
string $body xml body
1
mixed $conditions
1
string $locksFile path to file
1
string $action
1
array $postVars
1
Backend\BackendInterface $authBackend
1
string $bearerToken
1
string $mailbox
1
\Sabre\DAV\Xml\Element\Response[] $responses
1
string $syncToken
1
mixed $report
1
string|string[] $reports
1
LockInfo[] $locks
1
array|string|null $resourceTypes
1
int|DateTime $time
1
int $shareAccess
1
string[] $methods
1
string $httpStatus
1
bool $enablePost
1
mixed $output
1
array $a
1
array $b
1
DAV\INode $node
1
HtmlOutputHelper $html
1
mixed $value
1
string $baseUri
1
scalar $input
1
string $targetName new local file/collection name
1
string $sourcePath Full path to source node
1
DAV\INode $sourceNode Source node itself
1
string $uri absolute uri
1
string $collectionUrl
1
array $conditions
1
string $overrideName
1
DAV\Locks\LockInfo $lock
1
string $principalUrl
1
CalendarMultiGetReport $report
1
Xml\Request\CalendarQueryReport $report
1
resource|string $data
1
string $path
1
bool $modified should be set to true, if this event handler
1
RequestInterface $request the http request
1
ResponseInterface $response the http response
1
bool $isNew is the item a new one, or an update
1
VObject\Node|string $check value to check against
1
array $calendarInfo
1
array $principalInfo
1
\Sabre\DAV\Server $server
1
string $path
1
DateTime|null $start
1
DateTime|null $end
1
bool $expand
1
string $componentType
1
string $format
1
array $properties
1
array $properties Some CalDAV properties
1
string $name Name of the file
1
resource $data initial payload, passed as a readable stream resource
1
string $senderEmail. The 'senderEmail' is the email that shows up
1
string $to Recipient email address
1
string $subject Subject of the email
1
string $body iCalendar body
1
array $headers List of headers
1
RequestInterface $request HTTP request
1
ResponseInterface $response HTTP Response
1
VCalendar $vCal Parsed iCalendar object
1
mixed $calendarPath Path to calendar collection
1
mixed $modified the iCalendar object has been touched
1
mixed $isNew Whether this was a new item or we're updating one
1
VCalendar|string|null $oldObject
1
array $ignore any addresses to not send messages to
1
bool $modified a marker to indicate that the original object modified by this process
1
string $email address
1
int $operation 1 = add, 2 = modify, 3 = delete
1
mixed $subscriptionId
1
\Sabre\DAV\PropPatch $propPatch
1
bool $canBeShared
1
bool $canBePublished
1
array $values All the options
1
string $etag
1
int $type
1
string $inReplyTo
1
string $summary
1
mixed $objects
1
DateTimeZone $timeZone
1
VCalendar[] $objects
1
string $arg1,... Unlimited number of args
1
array $children
1
bool $defaults
1
string $valueType Force a specific valuetype, such as URI or TEXT
1
string $valueParam
1
int $start
1
int $end
1
string $type FREE, BUSY, BUSY-UNAVAILABLE or BUSY-TENTATIVE
1
string $msg
1
resource|string|Component $expected
1
resource|string|Component $actual
1
string $message
1
string|resource|array $data
1
int $options
1
string $charset
1
string|null $name such as VCALENDAR, VEVENT
1
bool $defaults
1
string|Property|Component $item
1
string $tzid
1
false $failIfUncertain
1
string $dt
1
string $date
1
string $duration
1
bool $asString
1
string $date
1
DateTimeZone|string $referenceTz
1
string|array $part
1
$parameters list of parameters that will eventually be added to
1
VCalendar|string $calendar
1
string|array $userHref
1
VCalendar|string|null $oldCalendar
1
string $attendee
1
VCalendar $calendar
1
Component|array $input
1
string|null $uid
1
DateTimeZone $timeZone reference timezone for floating dates and
1
DateTimeInterface[] $dt
1
DateTimeZone $timeZone reference timezone for floating dates and
1
int $target
1
string $fieldName
1
int $options
1
resource|string|array|null $input
1
int $options
1
resource|string|array $input
1
string|resource|null $input
1
int $options
1
string $line Unfolded line
1
string $propertyNamePrefix
1
string $clarkedTagName
1
XML\Reader $reader
1
callable $callBack
1
float|null timeout
1
?string $vendorDir
1
string[] $classMap Class to filename map
1
string $prefix The prefix
1
string[]|string $paths The PSR-0 root directories
1
string $prefix The prefix/namespace, with trailing '\\'
1
string[]|string $paths The PSR-4 base directories
1
string $prefix The prefix
1
string[]|string $paths The PSR-0 base directories
1
string $prefix The prefix/namespace, with trailing '\\'
1
string[]|string $paths The PSR-4 base directories
1
bool $useIncludePath
1
bool $classMapAuthoritative
1
string|null $apcuPrefix
1
bool $prepend Whether to prepend the autoloader or not
1
string $class The name of the class
1
string $class The name of the class
1
string $class
1
string $ext
1
string $type
1
bool $includeDevRequirements
1
VersionParser $parser Install composer/semver to have access to this class and functionality
1
string $packageName
1
string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
1
array[] $data A vendor/composer/installed.php data set
1
mixed $level
1
string $filename a valid filename
1
string $pdfdata The PDF file content
1
int $pageno pagenumber
1
mixed $value A PDF-Value. Structure of values see cases in this method
1
string $s
1
string $hex
1
$offset (int) Stream offset.
1
$length (int) Stream length.
1
$key (array) Object key to find (obj, gen).
1
int $pageno Pagenumber to use
1
array $obj Array of pdf-data
1
array $content_ref
1
array $obj
1
array $page a /Page
1
string $box_index Type of Box @see $availableBoxes
1
int The page number
1
array a /Page
1
integer $pageno
1
int $x The x-coordinate given in user-unit
1
int $y The y-coordinate given in user-unit
1
int $w The width given in user-unit
1
int $h The height given in user-unit
1
int $_x The x-position
1
int $_y The y-position
1
int $_w The new width of the template
1
int $_h The new height of the template
1
int $_w The width of the template
1
int $_h The height of the template
1
string $wkb
1
bool $is_hex_string
1
string $wkb An Extended-WKB binary string
1
string $georss - an XML feed containing geoRSS
1
string $return_type Should be either 'string' or 'array'
1
string - Address to geocode
1
string - Type of Geometry to return. Can either be 'points' or 'bounds' (polygon)
1
Geometry|bounds-array - Limit the search area to within this region. For example
1
return_multiple - Return all results in a multipoint or multipolygon
1
string $kml A KML string
1
mixed $input The GeoJSON string or object
1
Geometry $obj The object to serialize
1
Point $geometry
1
string $hash the geohash (lowercase)
1
string $direction the direction of the neighbor (top, bottom, left or right)
1
string $WKT A WKT string
1
Geometry $geometry A Geometry object
1
string $gpx A GPX string
1
array $points An array of at least two points with
1
array $components array of geometries
1
numeric $x The x coordinate (or longitude)
1
numeric $y The y coordinate (or latitude)
1
numeric $z The z coordinate (or altitude) - optional
1
boolean $pointOnBoundary - whether a boundary should be considered "in" or not
1
boolean $pointOnVertex - whether a vertex should be considered "in" or not
1
$w (float) width
1
$h (float) height
1
$x (float) X coordinate
1
$y (float) Y coodiante
1
$fitonpage (boolean) if true the block is resized to not exceed page dimensions.
1
$file (string) Name of the file containing the image or a '@' character followed by the image data string. To link an image without embedding it on the document, set an asterisk character before the URL (i.e.: '*http://www.example.com/image.jpg').
1
$x (float) Abscissa of the upper-left corner (LTR) or upper-right corner (RTL).
1
$y (float) Ordinate of the upper-left corner (LTR) or upper-right corner (RTL).
1
$resize (mixed) If true resize (reduce) the image to fit $w and $h (requires GD or ImageMagick library); if false do not resize; if 2 force resize in all cases (upscaling and downscaling).
1
$ismask (boolean) true if this image is a mask, false otherwise
1
$imgmask (mixed) image object returned by this function or false
1
$fitbox (mixed) If not false scale image dimensions proportionally to fit within the ($w, $h) box. $fitbox can be true or a 2 characters string indicating the image alignment inside the box. The first character indicate the horizontal alignment (L = left, C = center, R = right) the second character indicate the vertical algnment (T = top, M = middle, B = bottom).
1
$hidden (boolean) If true do not display the image.
1
$fitonpage (boolean) If true the image is resized to not exceed page dimensions.
1
$alt (boolean) If true the image will be added as alternative and not directly printed (the ID of the image will be returned).
1
$altimgs (array) Array of alternate images IDs. Each alternative image must be an array with two values: an integer representing the image ID (the value returned by the Image method) and a boolean value to indicate if the image is the default for printing.
1
$file (string) Name of the file containing the image.
1
$wpx (float) Original width of the image in pixels.
1
$hpx (float) original height of the image in pixels.
1
$resize (boolean) If true resize (reduce) the image to fit $w and $h (requires GD library).
1
$filehash (string) File hash used to build unique file names.
1
$startxref (int) Offset at which the xref section starts (position of the 'xref' keyword).
1
$img (int) GD image Resource ID.
1
$c (int) alpha color
1
$h (float) The height of the break. By default, the value equals the height of the last printed cell.
1
$cell (boolean) if true add the current left (or right o for RTL) padding to the X coordinate
1
$y (float) The value of the ordinate in user units.
1
$resetx (bool) if true (default) reset the X position.
1
$x (float) The value of the abscissa.
1
$y (float) The value of the ordinate.
1
$name (string) The name of the file when saved. Note that special characters are removed and blanks characters are replaced with the underscore character.
1
$dest (string) Destination where to send the document. It can take one of the following values:
I: send the file inline to the browser (default). The plug-in is used if available. The name given by name is used when one selects the "Save as" option on the link generating the PDF.
D: send to the browser and force a file download with the name given by name.
F: save to a local server file with the name given by name.
S: return the document as a string (name is ignored).
FI: equivalent to F + I option
FD: equivalent to F + D option
E: return the document as base64 mime multi-part email attachment (RFC 2045)
1
$filename (string) Filename of the PDF document to import.
1
$destroyall (boolean) if true destroys all class variables, otherwise preserves critical variables.
1
$preserve_objcopy (boolean) if true preserves the objcopy variable
1
$a (string) Base alias.
1
$aliases (array) Array of page aliases.
1
$diff (int) initial difference to add.
1
$boxes (array) Array of page boxes to set on document: ('MediaBox', 'CropBox', 'BleedBox', 'TrimBox', 'ArtBox').
$code (string) zip code to represent. Must be a string containing a zip code of the form DDDDD or DDDDD-DDDD.
1
$planet (boolean) if true print the PLANET barcode, otherwise print POSTNET
1
$kix (boolean) if true prints the KIX variation (doesn't use the start and end symbols, and the checksum) - in this case the house number must be sufficed with an X and placed at the end of the code.
1
$code (string) code to print, separate the ZIP (routing code) from the rest using a minus char '-' (BarcodeID_ServiceTypeID_MailerID_SerialNumber-RoutingCode)
$objid (int) Object ID (leave empty to get a new ID).
1
$txt (string) text to underline
1
$w (int) width to underline
1
$txt (string) text to linethrough
1
$w (int) line length (width)
1
$txt (string) text to overline
1
$w (int) width to overline
1
$s (string) data string to escape.
1
$time (mixed) Document creation timestamp in seconds or date-time string.
1
$time (mixed) Document modification timestamp in seconds or date-time string.
1
$n (int) Object ID.
1
$timestamp (int) Timestamp to convert.
1
$n (int) object reference for encryption mode
1
$language (array)
1
$url (string) link URL or internal link (i.e.: <a href="#23,4.5">link to page 23 at 4.5 Y position</a>)
1
$name (string) link name
1
$color (array) array of RGB text color
1
$style (string) font style (U, D, B, I)
1
$px (int) pixels
1
$number (string) number to convert specified as a string
1
$text_to_convert (string) Text to convert.
1
$hex (string) hexadecimal number to convert specified as a string
1
$s (string) data string to encrypt
1
$code_arr (string) array of hexadecimal values (13 bytes holding 102 bits right justified).
1
$num (int) value to reversr
1
$n (int) is the type of table: 2 for 2of13 table, 5 for 5of13table
1
$size (int) size of table (78 for n=2 and 1287 for n=5)
1
$password (string) password
1
$permissions (Array) the set of permissions (specify the ones you want to block):
print : Print the document;
modify : Modify the contents of the document by operations other than those controlled by 'fill-forms', 'extract' and 'assemble';
copy : Copy or otherwise extract text and graphics from the document;
annot-forms : Add or modify text annotations, fill in interactive form fields, and, if 'modify' is also set, create or modify interactive form fields (including signature fields);
fill-forms : Fill in existing interactive form fields (including signature fields), even if 'annot-forms' is not specified;
extract : Extract text and graphics (in support of accessibility to users with disabilities or for other purposes);
assemble : Assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images), even if 'modify' is not set;
print-high : Print the document to a representation from which a faithful digital copy of the PDF content could be generated. When this is not set, printing is limited to a low-level representation of the appearance, possibly of degraded quality.
owner : (inverted logic - only for public-key) when set permits change of encryption and enables all other permissions.
1
$user_pass (String) user password. Empty by default.
1
$owner_pass (String) owner password. If not specified, a random value is used.
1
$pubkeys (String) array of recipients containing public-key certificates ('c') and permissions ('p'). For example: array(array('c' => 'file://../examples/data/cert/tcpdf.crt', 'p' => array('print')))
1
$unicode (boolean) TRUE means that the input text is unicode (default = true)
1
$encoding (string) Charset encoding (used only when converting back html entities); default is UTF-8.
1
$diskcache (boolean) DEPRECATED FEATURE
1
$pdfa (integer) If not false, set the document to PDF/A mode and the good version (1 or 3).
1
$s (float) scaling factor for width and height as percent. 0 is not allowed.
1
$format (mixed) The format used for pages. It can be either: one of the string values specified at getPageSizeFromFormat() documentation or an array of two numbers (width, height) or an array containing the following measures and options:
1
$orientation (string) page orientation. Possible values are (case insensitive):
1
$angle (float) gradient angle of the straight line. Default is 0 (horizontal line).
1
$t_x (int) movement to the right (or left for RTL)
1
$autopagebreak (boolean) Boolean indicating if auto-page-break mode should be on or off.
1
$bottommargin (float) bottom margin of the page.
1
$t_x (int) movement to the right
1
$angle (float) angle in degrees for counter-clockwise rotation
1
$x (int) abscissa of the rotation center. Default is current x position
1
$y (int) ordinate of the rotation center. Default is current y position
1
$tm (array) transformation matrix
1
$width (float) The width.
1
$style (array) Line style. Array with keys among the following:
1
$ret (boolean) if true do not send the command.
1
$x (float) Abscissa of point.
1
$y (float) Ordinate of point.
1
$x (float) Abscissa of end point.
1
$y (float) Ordinate of end point.
1
$op (string) options
1
$re (string) regular expression (leave empty for default).
1
$x1 (float) Abscissa of first point.
1
$y1 (float) Ordinate of first point.
1
$x2 (float) Abscissa of second point.
1
$y2 (float) Ordinate of second point.
1
$style (array) Line style. Array like for SetLineStyle(). Default value: default line style (empty array).
1
$border_style (array) Border style of rectangle. Array with keys among the following:
1
$segments (float) An array of bezier descriptions. Format: array(x1, y1, x2, y2, x3, y3).
1
$astart: (float) Angle start of draw line. Default value: 0.
1
$afinish: (float) Angle finish of draw line. Default value: 360.
1
$line_style (array) Line style of ellipse. Array like for SetLineStyle(). Default value: default line style (empty array).
1
$enable (Boolean) if true enable Right-To-Left language mode.
1
$resetx (Boolean) if true reset the X position on direction change.
1
$xc (float) Abscissa of center point.
1
$yc (float) Ordinate of center point.
1
$xang: (float) Angle between the X-axis and the major axis of the ellipse. Default value: 0.
1
$angs: (float) Angle start of draw line. Default value: 0.
1
$angf: (float) Angle finish of draw line. Default value: 360.
1
$pie (boolean) if true do not mark the border point (used to draw pie sectors).
1
$startpoint (boolean) if true output a starting point.
1
$ccw (boolean) if true draws in counter-clockwise.
1
$svg (boolean) if true the angles are in svg mode (already calculated).
1
$mode (mixed) can be false, 'L' for LTR or 'R' for RTL
1
$r (float) Radius.
1
$angstr: (float) Angle start of draw line. Default value: 0.
1
$angend: (float) Angle finish of draw line. Default value: 360.
1
$line_style (array) Line style of circle. Array like for SetLineStyle(). Default value: default line style (empty array).
1
$nc (integer) Number of curves used to draw a 90 degrees portion of circle.
1
$h (float) cell height.
1
$fontsize (int) Font size in internal units
1
$padding (boolean) If true add cell padding
1
$scale (float) adjusting factor to convert pixels to user units.
1
$left (float) Left margin.
1
$top (float) Top margin.
1
$right (float) Right margin. Default value is the left one.
1
$keepmargins (boolean) if true overwrites the default page margins
1
$pad (float) internal padding.
1
$left (float) left padding
1
$top (float) top padding
1
$right (float) right padding
1
$bottom (float) bottom padding
1
$left (float) left margin
1
$top (float) top margin
1
$right (float) right margin
1
$bottom (float) bottom margin
1
$auto (boolean) Boolean indicating if mode should be on or off.
1
$margin (float) Distance from the bottom of the page.
1
$closed (boolean) if true the polygon is closes, otherwise will remain open
$draw_circle (boolean) Draw inscribed circle or not. Default value: false.
1
$zoom (mixed) The zoom to use. It can be one of the following string values or a number indicating the zooming factor to use.
fullpage: displays the entire page on screen
fullwidth: uses maximum width of window
real: uses real size (equivalent to 100% zoom)
default: uses viewer default mode
1
$compress (boolean) Boolean indicating if compression must be enabled.
1
$mode (boolean) If true force sRGB output intent.
1
$r (float) Radius of inscribed circle.
1
$nv (integer) Number of vertices.
1
$ng (integer) Number of gap (if ($ng % $nv = 1) then is a regular polygon).
1
$draw_circle: (boolean) Draw inscribed circle or not. Default value is false.
1
$unicode (boolean) if true set the meta information in Unicode
1
$title (string) The title.
1
$subject (string) The subject.
1
$author (string) The name of the author.
1
$keywords (string) The list of keywords.
1
$creator (string) The name of the creator.
1
$r (float) the radius of the circle used to round off the corners of the rectangle.
1
$pnum (int) page number (1 ... numpages)
1
$rx (float) the x-axis radius of the ellipse used to round off the corners of the rectangle.
1
$ry (float) the y-axis radius of the ellipse used to round off the corners of the rectangle.
1
$x0 (float) Abscissa of first point.
1
$y0 (float) Ordinate of first point.
1
$x1 (float) Abscissa of second point.
1
$y1 (float) Ordinate of second point.
1
$head_style (int) (0 = draw only arrowhead arms, 1 = draw closed arrowhead, but no fill, 2 = closed and filled arrowhead, 3 = filled arrowhead)
1
$arm_size (float) length of arrowhead arms
1
$arm_angle (int) angle between an arm and the shaft
1
$orientation (string) page orientation.
1
$tocpage (boolean) if true set the tocpage state to true (the added page will be used to display Table Of Content).
1
$tocpage (boolean) if true set the tocpage state to false (end the page used to display Table Of Content).
1
$tocpage (boolean) if true the page is designated to contain the Table-Of-Content.
1
$name (string) Destination name.
1
$y (float) Y position in user units of the destiantion on the selected page (default = -1 = current position; 0 = page start;).
1
$x (float) X position in user units of the destiantion on the selected page (default = -1 = current position;).
1
$page (int) page number (default is the current page)
1
$ln (string) header image logo
1
$lw (string) header image logo width in mm
1
$ht (string) string to print as title on document header
1
$hs (string) string to print on document header
1
$hm (int) distance in user units
1
$fm (int) distance in user units
1
$val (boolean) set to true to print the page header (default), false otherwise.
1
$val (boolean) set to true to print the page footer (default), false otherwise.
1
$val (boolean) set to true to reset Header xobject template at each page, false otherwise.
1
$onload (boolean) if true executes this object when opening the document
1
$type (string) field type
1
$x (int) horizontal position
1
$y (int) vertical position
1
$name (string) Field name.
1
$w (int) Width of the radio button.
1
$prop (array) Javascript field properties. Possible values are described on official Javascript for Acrobat API reference.
1
$opt (array) Annotation parameters. Possible values are described on official PDF32000_2008 reference.
1
$onvalue (string) Value to be returned if selected.
1
$checked (boolean) Define the initial state.
1
$js (boolean) If true put the field using JavaScript (requires Acrobat Writer to be rendered).
1
$name (string) Full name of the spot color.
1
$c (float) Cyan color for CMYK. Value between 0 and 100.
1
$m (float) Magenta color for CMYK. Value between 0 and 100.
1
$y (float) Yellow color for CMYK. Value between 0 and 100.
1
$k (float) Key (Black) color for CMYK. Value between 0 and 100.
1
$tint (int) Intensity of the color (from 0 to 100 ; 100 = full intensity by default).
1
$color (array) Array of colors (1=gray, 3=RGB, 4=CMYK or 5=spotcolor=CMYK+name values).
1
$s (string) The string whose length is to be computed
1
$fontstyle (string) Font style. Possible values are (case insensitive):
empty string: regular
B: bold
I: italic
U: underline
D: line-through
O: overline
or any combination. The default value is regular.
1
$sa (string) The array of chars whose total length is to be computed
1
$fontstyle (string) Font style. Possible values are (case insensitive):
empty string: regular
B: bold
I: italic
U: underline
D: line through
O: overline
or any combination. The default value is regular.
1
$notlast (boolean) If false ignore the font-spacing.
1
$checked (boolean) define the initial state.
1
$onvalue (string) value to be returned if selected.
1
$s (string) The input string.
1
$family (string) Font family. The name can be chosen arbitrarily. If it is a standard family name, it will override the corresponding font.
1
$style (string) Font style. Possible values are (case insensitive):
empty string: regular (default)
B: bold
I: italic
BI or IB: bold italic
1
$family (string) Family font. It can be either a name defined by AddFont() or one of the standard Type1 families (case insensitive):
times (Times-Roman)
timesb (Times-Bold)
timesi (Times-Italic)
timesbi (Times-BoldItalic)
helvetica (Helvetica)
helveticab (Helvetica-Bold)
helveticai (Helvetica-Oblique)
helveticabi (Helvetica-BoldOblique)
courier (Courier)
courierb (Courier-Bold)
courieri (Courier-Oblique)
courierbi (Courier-BoldOblique)
symbol (Symbol)
zapfdingbats (ZapfDingbats)
It is also possible to pass an empty string. In that case, the current family is retained.
1
$style (string) Font style. Possible values are (case insensitive):
empty string: regular
B: bold
I: italic
U: underline
D: line through
O: overline
or any combination. The default value is regular. Bold and italic styles do not apply to Symbol and ZapfDingbats basic fonts or other fonts when not defined.
1
$size (float) Font size in points. The default value is the current size. If no size has been specified since the beginning of the document, the value taken is 12
1
$caption (string) caption.
1
$action (mixed) action triggered by pressing the button. Use a string to specify a javascript action. Use an array to specify a form action options as on section 12.7.5 of PDF32000_2008.
1
$enable (boolean) if true enable user's rights on PDF reader
1
$document (string) Names specifying additional document-wide usage rights for the document. The only defined value is "/FullSave", which permits a user to save the document along with modified form and/or annotation data.
1
$annots (string) Names specifying additional annotation-related usage rights for the document. Valid names in PDF 1.5 and later are /Create/Delete/Modify/Copy/Import/Export, which permit the user to perform the named operation on annotations.
1
$form (string) Names specifying additional form-field-related usage rights for the document. Valid names are: /Add/Delete/FillIn/Import/Export/SubmitStandalone/SpawnTemplate
1
$signature (string) Names specifying additional signature-related usage rights for the document. The only defined value is /Modify, which permits a user to apply a digital signature to an existing signature form field or clear a signed signature form field.
1
$ef (string) Names specifying additional usage rights for named embedded files in the document. Valid names are /Create/Delete/Modify/Import, which permit the user to perform the named operation on named embedded files
1
$formex (string) Names specifying additional form-field-related usage rights. The only valid name is BarcodePlaintext, which permits text form field data to be encoded as a plaintext two-dimensional barcode.
1
$signing_cert (mixed) signing certificate (string or filename prefixed with 'file://')
1
$private_key (mixed) private key (string or filename prefixed with 'file://')
1
$private_key_password (string) password
1
$extracerts (string) specifies the name of a file containing a bunch of extra certificates to include in the signature which can for example be used to help the recipient to verify the certificate that you used.
1
$cert_type (int) The access permissions granted for this document. Valid values shall be: 1 = No changes to the document shall be permitted; any change to the document shall invalidate the signature; 2 = Permitted changes shall be filling in forms, instantiating page templates, and signing; other changes shall invalidate the signature; 3 = Permitted changes shall be the same as for 2, as well as annotation creation, deletion, and modification; other changes shall invalidate the signature.
1
$info (array) array of option information: Name, Location, Reason, ContactInfo.
1
$approval (string) Enable approval signature eg. for PDF incremental update
1
$tsa_host (string) Time Stamping Authority (TSA) server (prefixed with 'https://')
1
$tsa_username (string) Specifies the username for TSA authorization (optional) OR specifies the TSA authorization PEM file (see: example_66.php, optional)
1
$tsa_password (string) Specifies the password for TSA authorization (optional)
1
$tsa_cert (string) Specifies the location of TSA certificate for authorization (optional for cURL)
1
$size (float) The font size in points.
1
$s (int) Font measure.
1
$char (int) Input character code.
1
$char (mixed) Character to check (integer value or string)
1
$text (string) Text to process.
1
$subs (array) Array of possible character substitutions. The key is the character to check (integer value) and the value is a single intege value or an array of possible substitutes.
1
$font (string) Font name.
1
$link (int) The link identifier returned by AddLink()
1
$y (float) Ordinate of target position; -1 indicates the current position. The default value is 0 (top of page)
1
$page (int) Number of target page; -1 indicates the current page (default value). If you prefix a page number with the * character, then this page will not be changed when adding/deleting/moving pages.
1
$text (string) annotation text or alternate content
1
$opt (array) array of options (see section 8.4 of PDF reference 1.7).
1
$signature (string) Digital signature as binary string
1
$page (int) starting group page (leave empty for next page).
1
$num (int) Starting page number.
1
$name (string) Layer name (only a-z letters and numbers). Leave empty for automatic name.
1
$print (boolean|null) Set to TRUE to print this layer, FALSE to not print and NULL to not set this option
1
$view (boolean) Set to true to view this layer.
1
$lock (boolean) If true lock the layer
1
$v (string) visibility mode. Legal values are: all, print, screen or view.
1
$parms (array) parameters
1
$gs (array) extgstate
1
$x (float) Abscissa of the cell origin
1
$y (float) Ordinate of the cell origin
1
$fstroke (int) outline size in user units (false = disable)
1
$fclip (boolean) if true activate clipping mode (you must call StartTransform() before this function and StopTransform() to stop the clipping tranformation).
1
$ffill (boolean) if true fills the text
1
$calign (string) cell vertical alignment relative to the specified Y value. Possible values are:
T : cell top
A : font top
L : font baseline
D : font bottom
B : cell bottom
1
$rtloff (boolean) if true uses the page top-left corner as origin of axis for $x and $y initial position.
1
$stroking (boolean) If true apply overprint for stroking operations.
1
$nonstroking (boolean) If true apply overprint for painting operations other than stroking.
1
$mode (integer) Overprint mode: (0 = each source colour component value replaces the value previously painted for the corresponding device colorant; 1 = a tint value of 0.0 for a source colour component shall leave the corresponding component of the previously painted colour unchanged).
1
$stroking (float) Alpha value for stroking operations: real value from 0 (transparent) to 1 (opaque).
1
$bm (string) blend mode, one of the following: Normal, Multiply, Screen, Overlay, Darken, Lighten, ColorDodge, ColorBurn, HardLight, SoftLight, Difference, Exclusion, Hue, Saturation, Color, Luminosity
1
$nonstroking (float) Alpha value for non-stroking operations: real value from 0 (transparent) to 1 (opaque).
1
$ais (boolean)
1
$y (mixed) starting y position, leave empty for current position.
1
$addpage (boolean) if true add a page, otherwise only return the true/false state
1
$quality (int) JPEG quality, integer between 1 and 100
1
$cols (int) number of columns
1
$ln (int) Indicates where the current position should go after the call. Possible values are:
0: to the right (or left for RTL languages)
1: to the beginning of the next line
2: below
Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value: 0.
1
$h (int) cell proportion respect font height (typical value = 1.25).
1
$version (string) PDF document version.
1
$preferences (array) array of options.
1
$transition (boolean) if true prints tcolor transitions to white.
1
$vertical (boolean) if true prints bar vertically.
1
$colors (string) colors to print separated by comma. Valid values are: A,W,R,G,B,C,M,Y,K,RGB,CMYK,ALL,ALLSPOT,. Where: A = grayscale black, W = grayscale white, R = RGB red, G RGB green, B RGB blue, C = CMYK cyan, M = CMYK magenta, Y = CMYK yellow, K = CMYK key/black, RGB = RGB registration color, CMYK = CMYK registration color, ALL = Spot registration color, ALLSPOT = print all defined spot colors, = name of the spot color to print.
1
$x (float) abscissa of the crop mark center.
1
$y (float) ordinate of the crop mark center.
1
$w (float) width of the crop mark.
1
$h (float) height of the crop mark.
1
$type (string) type of crop mark, one symbol per type separated by comma: T = TOP, F = BOTTOM, L = LEFT, R = RIGHT, TL = A = TOP-LEFT, TR = B = TOP-RIGHT, BL = C = BOTTOM-LEFT, BR = D = BOTTOM-RIGHT.
1
$color (array) crop mark color (default spot registration color).
1
$valign (string) text vertical alignment inside the cell. Possible values are:
T : top
M : middle
B : bottom
1
$oldchar (int) Integer code (unicode) of the character to replace.
1
$newchar (int) Integer code (unicode) of the new character.
1
$double (boolean) if true print two concentric crop marks.
1
$cola (array) crop mark color (default spot registration color 'All').
1
$colb (array) second crop mark color (default spot registration color 'None').
1
$coords (array) array of the form (x1, y1, x2, y2) which defines the gradient vector (see linear_gradient_coords.jpg). The default value is from left to right (x1=0, y1=0, x2=1, y2=0).
1
$coords (array) array of the form (fx, fy, cx, cy, r) where (fx, fy) is the starting point of the gradient with color1, (cx, cy) is the center of the circle with color2, and r is the radius of the circle (see radial_gradient_coords.jpg). (fx, fy) should be inside the circle, otherwise some areas will not be defined.
1
$col1 (array) first color (lower left corner) (RGB components).
1
$col2 (array) second color (lower right corner) (RGB components).
1
$col3 (array) third color (upper right corner) (RGB components).
1
$col4 (array) fourth color (upper left corner) (RGB components).
1
$coords (array)
for one patch mesh: array(float x1, float y1, .... float x12, float y12): 12 pairs of coordinates (normally from 0 to 1) which specify the Bezier control points that define the patch. First pair is the lower left edge point, next is its right control point (control point 2). Then the other points are defined in the order: control point 1, edge point, control point 2 going counter-clockwise around the patch. Last (x12, y12) is the first edge point's left control point (control point 1).
for two or more patch meshes: array[number of patches]: arrays with the following keys for each patch: f: where to put that patch (0 = first patch, 1, 2, 3 = right, top and left of precedent patch - I didn't figure this out completely - just try and error ;-) points: 12 pairs of coordinates of the Bezier control points as above for the first patch, 8 pairs of coordinates for the following patches, ignoring the coordinates already defined by the precedent patch (I also didn't figure out the order of these - also: try and see what's happening) colors: must be 4 colors for the first patch, 2 colors for the following patches
1
$coords_min (array) minimum value used by the coordinates. If a coordinate's value is smaller than this it will be cut to coords_min. default: 0
1
$coords_max (array) maximum value used by the coordinates. If a coordinate's value is greater than this it will be cut to coords_max. default: 1
1
$x (float) abscissa of the top left corner of the rectangle (or top right corner for RTL mode).
1
$type (int) type of gradient (1 Function-based shading; 2 Axial shading; 3 Radial shading; 4 Free-form Gouraud-shaded triangle mesh; 5 Lattice-form Gouraud-shaded triangle mesh; 6 Coons patch mesh; 7 Tensor-product patch mesh). (Not all types are currently supported)
1
$coords (array) array of coordinates.
1
$stops (array) array gradient color components: color = array of GRAY, RGB or CMYK color components; offset = (0 to 1) represents a location along the gradient vector; exponent = exponent of the exponential interpolation function (default = 1).
1
$background (array) An array of colour components appropriate to the colour space, specifying a single background colour value.
1
$x (float) X coordinate.
1
$y (float) Y coordinate.
1
$w (float) Cell width.
1
$h (float) Cell height.
1
$align (string) Allows to center or align the text. Possible values are:
L or empty string: left align
C: center
R: right align
J: justification (default value when $ishtml=false)
1
$ln (int) Indicates where the current position should go after the call. Possible values are:
0: to the right
1: to the beginning of the next line [DEFAULT]
2: below
1
$x (float) x position in user units
1
$y (float) y position in user units
1
$ishtml (boolean) INTERNAL USE ONLY -- set to true if $txt is HTML content (default = false). Never set this parameter to true, use instead writeHTMLCell() or writeHTML() methods.
1
$maxh (float) maximum height. It should be >= $h and less then remaining space to the bottom of the page, or 0 for disable this feature. This feature works only when $ishtml=false.
1
$valign (string) Vertical alignment of text (requires $maxh = $h > 0). Possible values are:
T: TOP
M: middle
B: bottom
. This feature works only when $ishtml=false and the cell must fit in a single page.
1
$fitcell (boolean) if true attempt to fit all the text within the cell by reducing the font size (do not work in HTML mode). $maxh must be greater than 0 and equal to $h.
1
$rx (float) the x-axis radius.
1
$ry (float) the y-axis radius.
1
$cw: (float) indicates whether to go clockwise.
1
$o: (float) origin of angles (0 for 3 o'clock, 90 for noon, 180 for 9 o'clock, 270 for 6 o'clock).
1
$nc (integer) Number of curves used to draw a 90 degrees portion of arc.
1
$r (float) radius.
1
$cw: (float) indicates whether to go clockwise (default: true).
1
$o: (float) origin of angles (0 for 3 o'clock, 90 for noon, 180 for 9 o'clock, 270 for 6 o'clock). Default: 90.
1
$file (string) Name of the file containing the image or a '@' character followed by the EPS/AI data string.
1
$useBoundingBox (boolean) specifies whether to position the bounding box (true) or the complete canvas (false) at location (x,y). Default value is true.
1
$fixoutvals (boolean) if true remove values outside the bounding box.
1
$bc (string) barcode
1
$type (string) type of barcode (see tcpdf_barcodes_1d.php for supported formats).
1
$x (int) x position in user units (empty string = current x position)
1
$y (int) y position in user units (empty string = current y position)
1
$w (int) width in user units (empty string = remaining page width)
1
$h (int) height in user units (empty string = remaining page height)
1
$xres (float) width of the smallest bar in user units (empty string = default value = 0.4mm)
1
$type (string) type of barcode (see tcpdf_barcodes_2d.php for supported formats).
1
$x (int) x position in user units
1
$y (int) y position in user units
1
$w (int) width in user units
1
$h (int) height in user units
1
$distort (boolean) if true distort the barcode to fit width and height, otherwise preserve aspect ratio
1
$h (float) Line height
1
$ln (boolean) if true set cursor at the bottom of the line, otherwise set cursor at the top of the line.
1
$maxh (float) maximum height. It should be >= $h and less then remaining space to the bottom of the page, or 0 for disable this feature.
1
$wadj (float) first line width will be reduced by this amount (used in HTML mode).
1
$margin (array) margin array of the parent container
1
$width (string) border width
1
$style (string) border style to convert
1
$cssborder (string) border properties
1
$csspadding (string) padding properties
1
$cssmargin (string) margin properties
1
$cssbspace (string) border-spacing CSS properties
1
$spacing (string) letter-spacing value
1
$parent (float) font spacing (tracking) value of the parent element
1
$stretch (string) stretch mode
1
$parent (float) stretch value of the parent element
1
$val (string) String containing font size value and unit.
1
$parent_size (float) Parent font size in points.
1
$html (string) html code
1
$data (array) parameters array
1
$x (float) upper-left corner X coordinate
1
$y (float) upper-left corner Y coordinate
1
$html (string) html text to print. Default value: empty string.
1
$ln (int) Indicates where the current position should go after the call. Possible values are:
0: to the right (or left for RTL language)
1: to the beginning of the next line
2: below
Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value: 0.
1
$html (string) text to display
1
$ln (boolean) if true add a new line after text (default = true)
1
$fill (boolean) Indicates if the background must be painted (true) or transparent (false).
1
$cell (boolean) if true add the current left (or right for RTL) padding to each Write (default false).
1
$maxbottomliney (int) maximum y value of current line
1
$hbz (string) Distance between current y and line bottom.
1
$hb (string) The height of the break.
1
$firsttag (boolean) set to true when the tag is the first.
1
$lasttag (boolean) set to true when the tag is the last.
1
$tag (array) array of tag properties.
1
$xmax (int) end X coordinate for border.
1
$symbol (string) character or string to be used (legal values are: '' = automatic, '!' = auto bullet, '#' = auto numbering, 'disc', 'disc', 'circle', 'square', '1', 'decimal', 'decimal-leading-zero', 'i', 'lower-roman', 'I', 'upper-roman', 'a', 'lower-alpha', 'lower-latin', 'A', 'upper-alpha', 'upper-latin', 'lower-greek', 'img|type|width|height|image.ext')
1
$booklet (boolean) true set the booklet mode on, false otherwise.
1
$inner (float) Inner page margin.
1
$outer (float) Outer page margin.
1
$reverse (boolean) if true swap left and right margins.
1
$tagvs (array) array of tags and relative vertical spaces.
1
$width (float) width of the indentation. Use negative value to disable it.
1
$isopen (boolean) if true keeps the top/bottom border open for the cell sides that cross the page.
1
$color (array) RGB array of colors
1
$fontstyle (string) additional font styles to add
1
$htmlval (string) String containing values and unit.
1
$refsize (string) Reference value in points.
1
$points (boolean) If true returns points, otherwise returns value in user's units.
1
$listdepth (int) list nesting level
1
$listtype (string) type of list
1
$size (float) current font size
1
$gvars (array) array of graphic variablesto restore
1
$extended (boolean) if true restore extended graphic variables
1
$data (string) page data
1
$append (boolean) if true append data, false replace.
1
$key (string) image sub-key
1
$key (string) font sub-key
1
$frompage (int) number of the source page
1
$topage (int) number of the destination page (must be less than $frompage)
1
$page (int) page to remove
1
$page (int) number of page to copy (0 = current page)
1
$numbersfont (string) set the font for page numbers (please use monospaced font for better alignment).
1
$filler (string) string used to fill the space between text and page number.
1
$color (array) RGB color array for bookmark title (values from 0 to 255).
1
$templates (array) array of html templates. Use: "#TOC_DESCRIPTION#" for bookmark title, "#TOC_PAGE_NUMBER#" for page number.
1
$correct_align (boolean) if true correct the number alignment (numbers must be in monospaced font like courier and right aligned on LTR, or left aligned on RTL)
1
$color (array) RGB color array for title (values from 0 to 255).
1
$self (boolean) if true restores current class object to previous state without the need of reassignment via the returned value.
1
$numcols (int) number of columns (set to zero to disable columns mode)
1
$width (int) column width
1
$y (int) column starting Y position (leave empty for current Y position)
1
$columns (array)
1
$col (int) column number (from 0 to getNumberOfColumns()-1); empty string = current column.
1
$stroke (int) outline size in user units (0 = disable).
1
$fill (boolean) if true fills the text (default).
1
$clip (boolean) if true activate clipping mode
1
$params (array) Array of parameters: enabled (boolean) set to true to enable shadow; depth_w (float) shadow width in user units; depth_h (float) shadow height in user units; color (array) shadow color or false to use the stroke color; opacity (float) Alpha value: real value from 0 (transparent) to 1 (opaque); blend_mode (string) blend mode, one of the following: Normal, Multiply, Screen, Overlay, Darken, Lighten, ColorDodge, ColorBurn, HardLight, SoftLight, Difference, Exclusion, Hue, Saturation, Color, Luminosity.
1
$word (array) array of chars
1
$patterns (array) Array of hypenation patterns.
1
$text (string) text to process
1
$patterns (mixed) Array of hypenation patterns or a TEX file containing hypenation patterns. TEX patterns can be downloaded from http://www.ctan.org/tex-archive/language/hyph-utf8/tex/generic/hyph-utf8/patterns/
1
$mode (boolean) if true enable rasterization, false otherwise.
1
$enable (boolean) if true enable font subsetting by default.
1
$fontfamily (string) property string containing font family names
1
$w (int) Template width in user units (empty string or zero = page width less margins).
1
$h (int) Template height in user units (empty string or zero = page height less margins).
1
$group (mixed) Set transparency group. Can be a boolean value or an array specifying optional parameters: 'CS' (solour space name), 'I' (boolean flag to indicate isolated group) and 'K' (boolean flag to indicate knockout group).
1
$id (string) The ID of XObject Template to print.
1
$x (int) X position in user units (empty string = current x position)
1
$y (int) Y position in user units (empty string = current y position)
1
$w (int) Width in user units (zero = remaining page width)
1
$h (int) Height in user units (zero = remaining page height)
1
$align (string) Indicates the alignment of the pointer next to template insertion relative to template height. The value can be:
T: top-right for LTR or top-left for RTL
M: middle-right for LTR or middle-left for RTL
B: bottom-right for LTR or bottom-left for RTL
N: next line
1
$palign (string) Allows to center or align the template on the current line. Possible values are:
L : left align
C : center
R : right align
'' : empty string : left for LTR or right for RTL
1
$fitonpage (boolean) If true the template is resized to not exceed page dimensions.
1
$perc (int) percentage of stretching (100 = no stretching)
1
$spacing (float) amount to increase or decrease the space between characters in a text (0 = default spacing)
1
$regions (array) array of no-write regions. For each region you can define an array as follow: ('page' => page number or empy for current page, 'xt' => X top, 'yt' => Y top, 'xb' => X bottom, 'yb' => Y bottom, 'side' => page side 'L' = left or 'R' = right). Omit this parameter to remove all regions.
1
$region (array) array of a single no-write region array: ('page' => page number or empy for current page, 'xt' => X top, 'yt' => Y top, 'xb' => X bottom, 'yb' => Y bottom, 'side' => page side 'L' = left or 'R' = right).
1
$key (int) region key
1
$h (float) height of the text/image/object to print in user units
1
$x (float) current X coordinate in user units
1
$y (float) current Y coordinate in user units
1
$file (string) Name of the SVG file or a '@' character followed by the SVG data string.
1
$align (string) Indicates the alignment of the pointer next to image insertion relative to image height. The value can be:
T: top-right for LTR or top-left for RTL
M: middle-right for LTR or middle-left for RTL
B: bottom-right for LTR or bottom-left for RTL
N: next line
If the alignment is an empty string, then the pointer will be restored on the starting SVG position.
1
$svgstyle (array) array of SVG styles to apply
1
$prevsvgstyle (array) array of previous SVG style
1
$x (int) X origin of the bounding box
1
$y (int) Y origin of the bounding box
1
$w (int) width of the bounding box
1
$h (int) height of the bounding box
1
$clip_function (string) clip function
1
$clip_params (array) array of parameters for clipping function
1
$d (string) attribute d of the path SVG element
1
$name (string) Tag name
1
$attribs (array) The third parameter, attribs, contains an associative array with the element's attributes (if any). The keys of this array are the attribute names, the values are the attribute values. Attribute names are case-folded on the same criteria as element names. Attribute values are not case-folded. The original order of the attributes can be retrieved by walking through attribs the normal way, using each(). The first key in the array was the first attribute, and so on.
1
$ctm (array) tranformation matrix for clipping mode (starting transformation matrix).
1
$data (string) The second parameter, data, contains the character data as a string.
1
$hcolor (string) HTML color.
1
$defcol (array) Color to return in case of error.
1
$c (array) Array of colors.
1
$color (string) color name or "#RRGGBB"
1
$mqr (boolean) FALSE for off, TRUE for on.
1
$url (string) URL to check.
1
$txt (string) input string
1
$brd (mixed) Indicates if borders must be drawn around the cell block. The value can be a number:
0: no border (default)
1: frame
or a string containing some or all of the following characters (in any order):
L: left
T: top
R: right
B: bottom
or an array of line styles for each border group: array('LTRB' => array('width' => 2, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(0, 0, 0)))
$tagvspaces (array) Array of vertical spaces for tags.
1
$selector (string) CSS selector string
1
$number (int) number to convert
1
$haystack (string) The string to search in.
1
$needle (string) substring to search.
1
$offset (int) May be specified to begin searching an arbitrary number of characters into the string.
1
$file (string) TEX file containing hypenation patterns. TEX pattrns can be downloaded from http://www.ctan.org/tex-archive/language/hyph-utf8/tex/generic/hyph-utf8/patterns/
1
$default (string) default style
1
$ta (array) first SVG tranformation matrix
1
$tb (array) second SVG tranformation matrix
1
$attribute (string) transformation
1
$x1 (int) X coordinate of first vector point
1
$y1 (int) Y coordinate of first vector point
1
$x2 (int) X coordinate of second vector point
1
$y2 (int) Y coordinate of second vector point
1
$pattern (string) The regular expression pattern to search for without the modifiers, as a string.
1
$modifiers (string) The modifiers part of the pattern,
1
$subject (string) The input string.
1
$limit (int) If specified, then only substrings up to limit are returned with the rest of the string being placed in the last substring. A limit of -1, 0 or NULL means "no limit" and, as is standard across PHP, you can use NULL to skip to the flags parameter.
1
$flags (int) The flags as specified on the preg_split PHP function.
1
string $filename The full path to the file to open
1
string $mode Acceses type for the file ('r', 'r+', 'w', 'w+', 'a', 'a+', 'x', 'x+', 'c', 'c+' or 'e')
1
url (string) URL to check.
1
filename (string) Path to the file or directory.
1
$file (string) Name of the file or URL to read.
1
$handle (resource)
1
$f (string) file name.
1
$format (mixed) The format name @see self::$page_format
1
$type (string) valid values are:
'MediaBox' : the boundaries of the physical medium on which the page shall be displayed or printed;
'CropBox' : the visible region of default user space;
'BleedBox' : the region to which the contents of the page shall be clipped when output in a production environment;
'TrimBox' : the intended dimensions of the finished page after trimming;
'ArtBox' : the page's meaningful content (including potential white space).
1
$llx (float) lower-left x coordinate in user units.
1
$lly (float) lower-left y coordinate in user units.
1
$urx (float) upper-right x coordinate in user units.
1
$ury (float) upper-right y coordinate in user units.
1
$points (boolean) If true uses user units as unit of measure, otherwise uses PDF points.
1
$k (float) Scale factor (number of points in user unit).
1
$fontfile (string) Font file (full path).
1
$fonttype (string) Font type. Leave empty for autodetect mode. Valid values are: TrueTypeUnicode, TrueType, Type1, CID0JP = CID-0 Japanese, CID0KR = CID-0 Korean, CID0CS = CID-0 Chinese Simplified, CID0CT = CID-0 Chinese Traditional.
1
$enc (string) Name of the encoding table to use. Leave empty for default mode. Omit this parameter for TrueType Unicode and symbolic fonts like Symbol or ZapfDingBats.
1
$flags (int) Unsigned 32-bit integer containing flags specifying various characteristics of the font (PDF32000:2008 - 9.8.2 Font Descriptor Flags): +1 for fixed font; +4 for symbol or +32 for non-symbol; +64 for italic. Fixed and Italic mode are generally autodetected so you have to set it to 32 = non-symbolic font (default) or 4 = symbolic font.
1
$outpath (string) Output path for generated font files (must be writeable by the web server). Leave empty for default font folder.
1
$platid (int) Platform ID for CMAP table to extract (when building a Unicode font for Windows this value should be 3, for Macintosh should be 1).
1
$encid (int) Encoding ID for CMAP table to extract (when building a Unicode font for Windows this value should be 1, for Macintosh should be 0). When Platform ID is 3, legal values for Encoding ID are: 0=Symbol, 1=Unicode, 2=ShiftJIS, 3=PRC, 4=Big5, 5=Wansung, 6=Johab, 7=Reserved, 8=Reserved, 9=Reserved, 10=UCS-4.
1
$addcbbox (boolean) If true includes the character bounding box information on the php font file.
1
$link (boolean) If true link to system font instead of copying the font data (not transportable) - Note: do not work with Type1 fonts.
1
$table (string) table to check
1
$length (int) length of table in bytes
1
$font (string) TrueType font data.
1
$subsetchars (array) Array of used characters (the glyphs to keep).
1
$cidoffset (int) offset for CID values
1
$map (string) CIDToGIDMap.
1
$cid (int) CID value.
1
$gid (int) GID value.
1
$file (string) Font file name.
1
$fontdir (string) Font directory (set to false fto search on default directories)
1
$size (string) String containing font size value.
1
$ta (array) The input array of UTF8 values.
1
$isunicode (boolean) True for Unicode mode, false otherwise.
1
$strarr (string) The input array of characters.
1
$uniarr (string) The input array of characters.
1
$str (string) string to manipulate.
1
$arr (array) array of unicode values.
1
$str (string) string to manipulate (or empty value).
1
$ta (array) array of characters composing the string.
1
$str (string) string to process
1
$forcertl (bool) if 'R' forces RTL, if 'L' forces LTR
1
$imgfile (string) image file name
1
$iminfo (array) array of image information returned by getimagesize() function.
1
$new_image (image) GD image object
1
$image (image) GD image object.
1
$quality (int) JPEG quality.
1
$filter (string) Filter name.
1
$code (string) code to represent using QRcode
1
$eclevel (string) error level:
L : About 7% or less errors can be corrected.
M : About 15% or less errors can be corrected.
Q : About 25% or less errors can be corrected.
H : About 30% or less errors can be corrected.
1
$frame (array) array to binarize
1
$string (string) input string to encode
1
$mask (int) masking mode
1
$val (int) value of the character to set
1
$spec (array) array of ECC specification
1
$width (int) frame width
1
$mask (array) masking mode
1
$maskNo (int) mask number
1
$s (int)
1
$d (int)
1
$maskGenOnly (boolean)
1
$pos (int)
1
$items (arrray) input items
1
$data (array) array of input data.
1
$index (int)
1
$parity (int)
1
$c (int) character value
1
$data (array) data to validate
1
$bits (int)
1
$items (array) items
1
$setLength (int) array size
1
$append (array) bitstream to append
1
$bstream (array) original bitstream
1
$srctab (array)
1
$repl (string) value to replace
1
$replLen (int) length of the repl string
1
$size (int) input code length (bytes)
1
$spec (array) an array of ECC specification contains as following: {# of type1 blocks, # of data code, # of ecc code, # of type2 blocks, # of data code}
1
$mask (array)
1
$data (array) data
1
$parity (array) parity
1
$code (string) Code to represent using Datamatrix.
1
$a (int) first number to multiply.
1
$b (int) second number to multiply.
1
$log (array) Log table.
1
$alog (array) Anti-Log table.
1
$gf (array) Number of Factors of the Reed-Solomon polynomial.
1
$wd (array) Array of datacodewords.
1
$nb (int) Number of blocks.
1
$nd (int) Number of data codewords per block.
1
$nc (int) Number of correction codewords per block.
1
$gf (int) numner of fields on log/antilog table (power of 2).
1
$pp (int) The value of its prime modulus polynomial (301 for ECC200).
1
$chr (int) Character (byte) to check.
1
$mode (int) Current encoding mode.
1
$pos (int) current position
1
$mode (int) current encoding mode
1
$mode (int) New encoding mode.
1
$numcw (int) Number of current codewords.
1
$bit (int) Bit.
1
bool $signThenEncrypt
1
string $serviceName Name of the service
1
string $className Class to instantiate
1
ClientInterface $httpClient
1
string $serviceName Name of service to create
1
array|null $scopes If creating an oauth2 service, array of scopes
1
string $apiVersion version of the api call
1
string $serviceName The name of the service of which to get the fully qualified name
1
string $type The type of the service to get (either OAuth1 or OAuth2)
1
array|null $scopes Array of scopes for the service
1
string $serviceName The fully qualified service name
1
array $scopes List of scopes for the service
1
UriInterface $baseApiUri
1
StdOAuth2Token $token
1
bool $stateParameterInAutUrl
1
string $apiVersion
1
array $body Request body if applicable.
1
string $scope
1
CredentialsInterface $credentials credentials
1
ClientInterface $httpClient httpClient
1
TokenStorageInterface $storage storage
1
$scopes scope
1
UriInterface|null $baseApiUri baseApiUri
1
$responseBody responseBody
1
string $code The access code from the callback.
1
int $lifetime
1
array $extraParams
1
SessionInterface $session
1
bool $startSession
1
string $sessionVariableName
1
bool $startSession Whether or not to start the session upon construction.
1
string $sessionVariableName the variable name to use within the _SESSION superglobal
1
Predis $redis An instantiated and connected redis client
1
string $key The key to store the token under in redis
1
string $stateKey The key to store the state under in redis.
1
string $service
1
DoliDB $db Database handler
1
\Conf $conf Conf object
1
string $keyforprovider Key to manage several providers of the same type. For example 'abc' will be added to 'Google' to defined storage key.
1
array $_server A super-global $_SERVER array
1
string $rawUserInfo
1
$path
1
string $userAgent The UA string the client will use
1
int $redirects Maximum redirects for client
1
int $timeout Request timeout time for client in seconds
1
bool $force
1
string $consumerId
1
string $consumerSecret
1
string $callbackUrl
1
UriInterface|string $path
1
UriInterface $baseApiUri
1
array $additionalParameters
1
array $body Request body if applicable (an associative array will
1
CredentialsInterface $credentials
1
array $signatureData
1
array $body Request body if applicable (key/value pairs)
1
array $extraHeaders Extra headers if applicable.
1
array $extraParameters
1
UriInterface $uri The uri the request is headed
1
array $bodyParams Request body if applicable (key/value pairs)
1
array $scopes
1
string $authorizationEndpoint
1
string $token The request token from the callback.
1
string $verifier
1
string $tokenSecret
1
string $locale The locale code to use (e.g. "fr" or "pt_br" or "en_uk")
1
string $rendererClass Class name of the chart renderer
1
int $options Default options for libxml loader
1
string $pName
1
Worksheet $pWorksheet
1
bool $pLocalOnly
1
null|Worksheet $pScope Scope. Only applies when $pLocalOnly = true. Null for global scope.
1
Worksheet $value
1
null|Worksheet $value
1
string $pNamedRange Named range
1
bool $hasMacros true|false
1
string $macroCode string|null
1
null|string $certificate
1
null|mixed $target
1
null|mixed $xmlData
1
null|mixed $BinObjectsNames
1
null|mixed $BinObjectsData
1
array $unparsedLoadedData
1
mixed $path
1
string $pSheetCodeName Name of the worksheet to check
1
Document\Properties $pValue
1
Document\Security $pValue
1
null|int $sheetIndex Index where sheet should go (0,1,..., or null for last)
1
string $pSheetName Name of the worksheet to check
1
int $pIndex Sheet index
1
string $sheetName Sheet name to modify index for
1
int $newIndex New index for the sheet
1
string $pValue Sheet title
1
Worksheet $pSheet External sheet to add
1
NamedRange $namedRange
1
null|Worksheet $pSheet scope: use null for global scope
1
Style $pCellStyle
1
bool $showHorizontalScroll True if horizonal scroll bar is visible
1
bool $showVerticalScroll True if vertical scroll bar is visible
1
bool $showSheetTabs True if sheet tabs are visible
1
bool $minimized true if workbook window is minimized
1
bool $autoFilterDateGrouping true if workbook window is minimized
1
int $firstSheetIndex First sheet in book view
1
string $visibility visibility status of the workbook
1
int $tabRatio Ratio between the tabs bar and the horizontal scroll bar
1
IComparable[] $pSource Source array to create HashTable from
1
IComparable[] $pSource Optional source array to create HashTable from
1
IComparable $pSource Item to add
1
IComparable $pSource Item to remove
1
string $writerType Example: Xlsx
1
string $readerType Example: Xlsx
1
string $pFilename The name of the spreadsheet file
1
string $pFilename The name of the spreadsheet file to identify
1
string $filename The name of the spreadsheet file
1
string $writerType
1
string $writerClass
1
string $readerType
1
string $readerClass
1
string $author
1
RichText $pValue
1
string $width
1
string $alignment see Style\Alignment::HORIZONTAL_*
1
string $cellAddress Address of the cell we're testing
1
string $pBefore Insert before this cell address (e.g. 'A1')
1
string $pFormula Formula to update
1
string $sheetName Worksheet name/title
1
string $pCellRange Cell range
1
Spreadsheet $spreadsheet Object to update
1
string $oldName Old name (name to replace)
1
string $newName New name
1
string $pCellRange Cell range (e.g. 'B2:D4', 'B:C' or '2:3')
1
string $pCellReference Single cell reference
1
float $pxs
1
float $widthUnits
1
SimpleXMLElement $xml
1
string $styleID
1
SimpleXMLElement $styleData
1
IReadFilter $pValue
1
string $data Data stream to read from
1
int $pos Position to start reading from
1
int $len Record data length
1
int $block Block for which to create decrypto
1
string $valContext MD5 context state
1
string $password Password to check
1
string $docid Document id
1
string $salt_data Salt data
1
string $hashedsalt_data Hashed salt data
1
string $valContext Set to the MD5 context of the value
1
string $formulaStructure The complete binary data for the formula
1
string $formulaData The binary data for the formula itself
1
string $formulaData Formula data
1
string $baseCell Base cell
1
string $arrayData
1
string $valueData
1
string $rgb Encoded RGB value (4 bytes)
1
int $characterCount
1
string $data Binary string that is at least 8 bytes long
Swift_StreamFilter $filter if input should be canonicalized
1
int $maxLineLength optional 0 indicates the default of 76 chars
1
int $size number of bytes to read
1
int $maxLineLength optional, 0 indicates the default of 75 bytes
1
Swift_CharacterReaderFactory $factory for loading validators
1
string $charset used in the stream
1
bool $writable if true
1
mixed $stack of bytes in string or array form, optional
1
string|array $addresses
1
string $name optional
1
int $priority
1
array $addresses
1
array $mimeTypes optional
1
array|string|null $addresses
1
array|string $addresses
1
Swift_Mime_SimpleMimeEntity[] $children
1
int $compoundLevel For internal use only
1
array $mimeTypes
1
string $disposition
1
int $size
1
string $charset optional
1
bool $delsp
1
int $maxLineLength - 0 indicates the default length for this encoding
1
int $maxLineLength optional, 0 indicates the default of 76 chars
1
int $maxLineLength - 0 means no wrapping will occur
1
bool $canonical if canonicalization transformation should be done
1
int $maxLineLength optional, 0 means no wrapping will occur
1
int $length
1
string $le
1
Swift_StreamFilter $filter if canonicalization should occur
1
bool $dotEscape if dot stuffing workaround must be enabled
1
Swift_OutputByteStream $os output stream
1
Swift_InputByteStream $is input stream
1
int $maxLineLength
1
int $firstLineOffset
1
int $maxLineLength 0 indicates the default length for this encoding
1
int $maxLineLength 0 indicates the default length for this encoding
1
string|string[] $mailboxes
1
string[] $addresses
1
string|string[] $addresses
1
string $displayName as displayed
1
bool $shorten the first line to make remove for header name
1
DateTimeInterface $model
1
string $lang
1
int $lineLength
1
string $string as displayed
1
string $charset of the text
1
bool $shorten the first line to make remove for header name
1
string $token
1
string[] $include additional chars to escape
1
string $usedLength optional
1
string $token token to encode
1
bool $condition
1
string[] $tokens
1
string $value to append
1
bool $encoded
1
bool $firstLine
1
string|array $id
1
string[] $ids
1
array $recipients
1
int $result
1
bool $cancel, optional
1
bool $valid
1
array $successCodes
1
object $source
1
string $search
1
string $replace
1
array $search
1
array $replace
1
int $minReplaces
1
string|array $search
1
string|array $replace
1
string $bytes
1
Swift_InputByteStream $is optional
1
string $path to save to
1
int $position
1
string $canon simple | nofws defaults to simple
1
string|null $signCertificate
1
string|null $signPrivateKey
1
string|null $encryptCertificate
1
string $certificate
1
string|array $privateKey If the key needs an passphrase use array('file-location', 'passphrase') instead
1
int $signOptions Bitwise operator options for openssl_pkcs7_sign()
1
string $extraCerts A file containing intermediate certificates needed by the signing certificate
1
string|array $recipientCerts Either an single X.509 certificate, or an assoc array of X.509 certificates.
1
int $cipher
1
bool $wrap
1
string $passphrase
1
string $hash 'rsa-sha1' or 'rsa-sha256'
1
mixed $len (bool or int)
1
string $name name of the segment to construct
1
string $xml XML tree of the segment
1
string $odf odf
1
string $xml Xml
1
string $key Key
1
string $value Value
1
string $encode Encode
1
string $charset Charset
1
string $prop Prop
1
string $meth Meth
1
array $args Args
1
string $key Name of the variable within the template
1
string $value Replacement value
1
string $filename The name of the odt file
1
string $config Array of config data
1
string $value Replacement value
1
bool $encode If true, special XML characters are encoded
1
string $charset Charset
1
array $tags An array with html tags generated by the getDataFromHtml() function
1
array $customStyles An array of style defenitions that should be included inside the odt file
1
array $fontDeclarations An array of font declarations that should be included inside the odt file
1
bool $encode If true, special XML characters are encoded
1
string $charset Charset. See encode_chars()
1
string $text The text to encode or not
1
string $html A string with html tags
1
string $type 'content', 'styles' or 'meta'
1
Segment $segment Segment
1
string $segment Segment
1
string $file name of the desired file
1
string $file Image file to add into manifest content
1
string $name (optional)
1
string $name Name of ODT file to generate before generating PDF
1
string $configKey Config key
1
string $dir The temporary working directory
1
string $valuename Balise in the template
1
string $text message text
1
array $data array of key value pairs {@type associative}
1
boolean $productionMode When set to false, it will run in
1
bool $refreshCache will update the cache when set to true
1
string ,... $url
1
bool $includeQueryParameters
1
int $version restler version
1
int $version maximum version number supported
1
int $minimum minimum version number supported
1
$className
1
string $className of the authentication class
1
string $resourcePath optional url prefix for mapping
1
string $className name of the service class
1
string $resourcePath optional url prefix for mapping, uses
1
string $className of the error handling class
1
array $classNames array of associative arrays containing
1
array $map array of associative arrays containing
1
string $name name of the hidden property
1
string $filename full path for the file to be served
1
bool $forceDownload should the we download instead of viewing
1
int $expires cache expiry in number of seconds
1
bool $isPublic cache control, is it public or private
1
callable $function
1
bool $singleton
1
array $scope local scope
1
string $stringName
1
string $httpStatusCode http status code
1
string|null $errorMessage error message
1
array $details any extra detail about the exception
1
Exception $previous previous exception if any
1
string $namespace
1
string $eventName name of the event
1
array $params event related data
1
mixed $o given value for finding type
1
bool $appendToModels if an object is found should we append to
1
$route
1
string $resourcePath
1
int $version
1
string $path Requested url path
1
string $httpMethod GET|POST|PUT|PATCH|DELETE etc
1
int $version Api Version number
1
array $data Data collected from the request
1
array $call
1
ReflectionClass $class
1
array $scope
1
array $routes
1
string $type data type as string
1
array|object $from array to extract the value from
1
string|array $key ... pass more to go deeply inside the array
1
string $accept header value
1
string $name name of the static property
1
mixed $value value to set the property to
1
string $url relative path or full url
1
array $params associative array of query parameters
1
array $flashData associative array of properties to be set in $_SESSION for one time use
1
int $status http status code to send the response with ideally 301 or 302
1
bool $isPhpDoc
1
string $comment PhpDoc style comment
1
$param
1
array $embedded
1
$subject
1
$path string absolute or relative path.
1
$key mixed class name considered or a collection of
1
$value mixed optional not required when doing a query on
1
$path string location of php file on the include path
1
$className string class name
1
$className string fully qualified class name.
1
$className string className that can't be found
1
null $loader callable loader optional when the loader is known
1
$className string name of a class to load
1
$loader callable autoLoader method
1
$className string the name of the alias class
1
$currentClass string the current class this alias references
1
$className string class name to discover
1
$currentClass string optional name of current class when
1
$className string The class or interface to verify
1
$mapping string (optional) value for map/seen if found to exist
1
$className string class/interface name to auto load
1
bool $includePlatform Should we consider user alone or should
1
string $string
1
array|string $data
1
array $children
1
$attribute
1
string $method http method to submit the form
1
bool $dataOnly if you want to render the form yourself use this
1
string $prefix used for adjusting the spacing in front of
1
string $indent used for adjusting indentation
1
ValidationInfo $p
1
bool $dataOnly
1
string $method http method for form key
1
string $json
1
array $data resulting data that needs to
1
boolean $humanReadable set to TRUE when restler
1
string $mime MIME type
1
string $extension file extension
1
int $usagePerUnit
1
int $authenticatedUsagePerUnit set it to false to give unlimited access
1
ValidationInfo|null $info
1
mixed $input
1
null $full
1
mixed $object that needs to be converted
1
bool $forceObjectTypeWhenEmpty when set to true outputs
1
bool $caseSensitive
1
array $arr
1
resource $im GD resource to use
1
Imagick $im Image to load from
1
Imagick $im
1
int $lineHeight
1
string $filename Filename to load
1
Imagick $im Image which has format PBM.
1
string $pdfFile
1
int $pageWidth
1
Imagick $im Image to flatten
1
string $filename Path to image filename, or null to create an empty image.
1
boolean $allowOptimisations True (default) to use any library-specific tricks
1
boolean $doubleDensity True for double density (24px) lines, false for single-density (8px) lines.
1
string|null $filename Filename to load from.
1
string $data Image data to use, string of 1's (black) and 0's (white) in row-major order.
1
int $width width of the image
1
int $height height of the image.
1
boolean $highDensity
1
int $lineNo
1
bool $highDensity
1
bool $allowOptimisations
1
array $preferred
1
array $codePageData
1
string $encodingName Name of the encoding
1
string $profileId
1
array $profileData
1
array $choices
1
int $num
1
PrintConnector $connector The PrintConnector to send data to. If not set, output is sent to standard output.
1
CapabilityProfile|null $profile Supported features of this printer. If not set, the "default" CapabilityProfile will be used, which is suitable for Epson printers.
1
string $content The information to encode.
1
int $type The barcode standard to output. Supported values are
1
int $mode Cut mode, either Printer::CUT_FULL or Printer::CUT_PARTIAL. If not specified, `Printer::CUT_FULL` will be used.
1
int $lines number of lines to feed. If not specified, 1 line will be fed.
1
EscposImage $img The image to print.
1
string $content Text or numbers to store in the code
1
int $width Width of a module (pixel) in the printed code.
1
int $heightMultiplier Multiplier for height of a module.
1
int $dataColumnCount Number of data columns to use. 0 (default)
1
float $ec Error correction ratio, from 0.01 to 4.00. Default is 0.10 (10%).
1
int $options Standard code Printer::PDF417_STANDARD with
1
int $pin 0 or 1, for pin 2 or pin 5 kick-out connector respectively.
1
int $on_ms pulse ON time, in milliseconds.
1
int $off_ms pulse OFF time, in milliseconds.
1
string $content The content of the code. Numeric data will be more efficiently compacted.
1
int $ec Error-correction level to use. One of Printer::QR_ECLEVEL_L (default), Printer::QR_ECLEVEL_M, Printer::QR_ECLEVEL_Q or Printer::QR_ECLEVEL_H. Higher error correction results in a less compact code.
1
int $size Pixel size to use. Must be 1-16 (default 3)
1
int $model QR code model to use. Must be one of Printer::QR_MODEL_1, Printer::QR_MODEL_2 (default) or Printer::QR_MICRO (not supported by all printers).
1
int $table The table to select. Available code tables are model-specific.
1
int $mode The mode to use. Default is Printer::MODE_FONT_A, with no special formatting. This has a similar effect to running initialize().
1
bool $on True to enable user-defined character set, false to use built-in characters sets.
1
int $height Height in dots. If not specified, 8 will be used.
1
int $width Bar width in dots. If not specified, 3 will be used.
1
int $position. Use Printer::BARCODE_TEXT_NONE to hide the text (default),
1
boolean $on true for double strike, false for no double strike
1
int $color Color to use. Must be either Printer::COLOR_1 (default), or Printer::COLOR_2.
1
boolean $on true for emphasis, false for no emphasis
1
int $font The font to use. Must be either Printer::FONT_A, Printer::FONT_B, or Printer::FONT_C.
1
int $justification One of Printer::JUSTIFY_LEFT, Printer::JUSTIFY_CENTER, or Printer::JUSTIFY_RIGHT.
1
int|null $height The height of each line, in dots. If not set, the printer
1
int $margin The left margin to set on to the print area, in dots.
1
int $width The width of the page print area, in dots.
1
PrintBuffer $buffer The buffer to use.
1
int $widthMultiplier Multiple of the regular height to use (range 1 - 8)
1
int $heightMultiplier Multiple of the regular height to use (range 1 - 8)
1
int $underline Either true/false, or one of Printer::UNDERLINE_NONE, Printer::UNDERLINE_SINGLE or Printer::UNDERLINE_DOUBLE. Defaults to Printer::UNDERLINE_SINGLE.
1
string $str Text to print
1
string $fn Function to use
1
string $cn Output code type. Affects available data
1
string $m Modifier/variant for function. Often '0' where used.
1
string $m Modifier/variant for function. Usually '0'.
1
string $fn Function number to use, as character.
1
array $inputs
1
boolean $long True to use 4 bytes, false to use 2
1
int $input Input number
1
int $length The number of bytes to output (1 - 4).
1
boolean $test the input to test
1
float $test the input to test
1
float $min the minimum allowable value (inclusive)
1
float $max the maximum allowable value (inclusive)
1
int $min the minimum allowable value (inclusive)
1
int $max the maximum allowable value (inclusive)
1
array $ranges array of two-item min/max ranges.
1
string $test the input to test
1
string $regex valid values for this attribute, as a regex
1
string $argument the name of the parameter being validated
1
int $codePoint Code point to check.
1
array $codePoints Text to print, as list of unicode code points
1
integer $encodingNo Encoding number to use- assumed to exist.
1
string $char Character to check
1
boolean $extended True to allow 128-256 values also (excluded by default)
1
Printer|null $printer New printer
1
string $text Text to print
1
string $text Text to print, already the target encoding.
1
string $font
1
string $ip IP address or hostname to use.
1
string $port The port number to connect on.
1
string $timeout The connection timeout, in seconds.
1
string $command the command to run.
1
string $outputStr variable to fill with standard output.
1
string $errorStr variable to fill with standard error.
1
string $inputStr text to pass to the command's standard input (optional).
1
string $from Source file
1
string $to Destination file
1
string $data Data to print
1
string $filename Destination file
1
string $cmd
1
string $data The data to write
1
int $mode
1
string|null $id
1
array $parameters
1
string|null $domain
1
int $isDst
1
DateTimeZone|string|int|null $object
1
float $hourOffset number of hour of the timezone shift (can be decimal).
1
float $minuteOffset number of total minutes of the timezone shift.
1
float $minutes number of total minutes of the timezone shift.
1
Closure|static|string|false|null $testNow real or mock Carbon instance
1
Closure|null $callback
1
array $cascadeFactors
1
Closure|DateInterval|string|int|null $years
1
int|null $months
1
int|null $weeks
1
int|null $days
1
int|null $hours
1
int|null $minutes
1
int|null $seconds
1
int|null $microseconds
1
int $years
1
int $months
1
int $weeks
1
int $days
1
string $format Format of the $interval input string
1
string|null $interval Input string to convert into an interval
1
string $intervalDefinition
1
string $interval interval string in the given language (may also contain English).
1
string|null $locale if locale is null or not specified, current global locale will be used instead.
array ... Variable list of arrays to recursively merge.
1
string $encoding
1
string|null $fallback
1
object $object
1
array|mixed $value
1
bool $strict
1
FolderCollection|array $children
1
$full_name
1
$attributes
1
string|null $sequence uid sequence
1
string $options
1
string $internal_date
1
integer $timeout max 1740 seconds - recommended by rfc2177 §3
1
boolean $auto_reconnect try to reconnect on connection close
1
boolean $attributize
1
$pattern
1
$raw_headers
1
string $text The MIME text
1
$encoded
1
$decoded
1
$values
1
$list
1
$raw_structure
1
string $context
1
int $part_number
1
Message $oMessage
1
Part $part
1
$raw_part
1
integer $part_number
1
$content_type
1
null $fetch_options
1
null $sequence
1
integer|null $msglist
1
integer|null $fetch_options
1
boolean $fetch_flags
1
integer $sequence
1
Structure $structure
1
$string
1
$encoding
1
Folder|null $sent_folder
1
MessageCollection|null $thread
1
Folder|null $folder
1
string $in_reply_to
1
string $message_id
1
Folder $folder
1
int $next_uid
1
string $event
1
bool $expunge
1
null|Message $message
1
$available_flags
1
$attachments
1
$flags
1
$client
1
array $default_config
1
string|bool|null $delimiter
1
$folder_name
1
boolean $hierarchical
1
string|null $parent_folder
1
boolean $force_select
1
$folder
1
integer $timeout
1
null $port
1
string $protocol
1
$transport
1
int $port of IMAP server, default is 143 (993 for ssl)
1
int $timeout timeout in seconds for initiating session
1
int $connection_timeout
1
int|null $port of service server
1
string $folder mailbox / folder name match with wildcards
1
array $flags flags to set, add or remove
1
int|null $port of IMAP server, default is 143 and 993 for ssl
1
string $start
1
string $tag reference tag
1
array|string $tokens to decode
1
string $wantedTag targeted tag
1
bool $dontParse if true only the unparsed line is returned in $tokens
1
string $tag request tag
1
bool $dontParse if true every line is returned unparsed instead of the decoded tokens
1
array $tokens additional parameters to command, use escapeString() to prepare
1
string $tag provide a tag otherwise an autogenerated is returned
1
array $tokens parameters as in sendRequest()
1
bool $dontParse if true unparsed lines are returned instead of tokens
1
string|array $string the literal/-s
1
array $list list with literals or lists as PHP array
1
string $command can be 'EXAMINE' or 'SELECT'
1
string $folder target folder
1
string|array $items items to fetch [RFC822.HEADER, FLAGS, RFC822.TEXT, etc]
1
int|array $from message for items or start message if $to !== null
1
string $sequence
1
$class
1
$events
1
array $items
1
int $total
1
int|null $current_page
1
array $options
1
int|null $page
1
string $page_name
1
boolean $prepaginated
1
null $total
1
callable|bool $callback
1
$parent
1
$criteria
1
array|null $arguments
1
mixed $criteria
1
null $value
1
$criteria string
1
$value mixed
1
$header
1
$country_code
1
int|string $uid
1
array $uids
1
string|Carbon $date
1
array $flags
1
string $message_key
1
Message $message
1
int $chunk_size
1
int $start_chunk
1
int $per_page Results you which to receive per page
1
int|null $page The current page you are on (e.g. 0, 1, 2, ...) use `null` to enable auto mode
1
string $page_name The page name / uri parameter used for the generated links and the auto mode
1
int|null $sequence
1
array $query
1
string $raw_query
1
int $fetch_flags
1
Exception $error
1
string $key The key of the item to store.
1
mixed $value The value of the item to store, must be serializable.
1
null|int|\DateInterval $ttl Optional. The TTL value of this item. If no value is sent and
1
string $key The unique key of this item in the cache.
1
mixed $default Default value to return if the key does not exist.
1
string $key The unique cache key of the item to delete.
1
iterable $keys A list of keys that can obtained in a single operation.
1
mixed $default Default value to return for keys that do not exist.
1
iterable $values A list of key => value pairs for a multiple-set operation.
1
null|int|\DateInterval $ttl Optional. The TTL value of this item. If no value is sent and
1
iterable $keys A list of string-based keys to be deleted.
1
string $key The cache item key.
1
string $type The PHP type of the value being dumped
1
scalar $value The scalar value being dumped
1
string $str The string being dumped
1
bool $bin Whether $str is UTF-8 or binary encoded
1
int $cut The number of characters $str has been cut by
1
callable[]|null $casters A map of casters
1
callable[] $casters A map of casters
1
int $maxItems
1
int $maxString
1
mixed $var Any PHP variable
1
int $filter A bit field of Caster::EXCLUDE_* constants
1
Stub $stub The Stub for the casted object
1
Stub $stub The Stub for the casted resource
1
callable $callback The caster
1
object|resource $obj The object/resource being casted
1
array $a The result of the previous cast for chained casters
1
Stub $stub The Stub for the casted object/resource
1
bool $isNested True if $obj is nested in the dumped structure
1
array $data A array as returned by ClonerInterface::cloneVar()
1
int $maxDepth The max dumped depth level
1
int $maxItemsPerDepth The max number of items dumped per depth level
1
bool $useRefHandles False to hide global ref. handles
1
string|int $key The key to seek to
1
DumperInterface $dumper The dumper being used for dumping
1
Cursor $cursor A cursor used for tracking dumper state position
1
array &$refs A map of all references discovered while dumping
1
mixed $item A Stub object or the original value being dumped
1
DumperInterface $dumper
1
Cursor $parentCursor The cursor of the parent hash
1
array &$refs A map of all references discovered while dumping
1
array $children The children to dump
1
int $hashCut The number of items removed from the original hash
1
string $hashType A Cursor::HASH_* const
1
bool $dumpKeys Whether keys should be dumped or not
1
string A PHP identifier, e.g. a class, method, interface, etc. name
1
callable The callable targeted by the identifier when it is ambiguous or not a real PHP identifier
1
array $a The array containing the properties to filter
1
int $filter A bit field of Caster::EXCLUDE_* constants specifying which properties to filter out
1
string[] $listedProperties List of properties to exclude when Caster::EXCLUDE_VERBOSE is set, and to preserve when Caster::EXCLUDE_NOT_IMPORTANT is set
1
int &$count Set to the number of removed properties
1
object $obj The object to cast
1
\ReflectionClass $reflector The class reflector to use for inspecting the object definition
1
\Exception $prev The exception thrown from the caster
1
Data $data A Data object
1
callable|resource|string $output A line dumper callable, an opened stream or an output path
1
callable|resource|string|null $output A line dumper callable, an opened stream or an output path, defaults to static::$defaultOutput
1
string $charset The default character encoding to use for non-UTF8 strings
1
int $flags A bit field of static::DUMP_* constants to fine tune dumps representation
1
string $charset The default character encoding to use for non-UTF8 strings
1
string $pad A string the will be prepended to dumped lines, repeated by nesting level
1
Data $data A Data object
1
callable|resource|string|true|null $output A line dumper callable, an opened stream, an output path or true to return the dump
1
int $depth The recursive depth in the dumped structure for the line being dumped
1
string $line The line to write
1
int $depth The recursive depth in the dumped structure
1
string $indentPad The line indent pad
1
string $s The non-UTF-8 string to convert
1
bool $colors
1
int $maxStringWidth
1
array $styles A map of style names to style definitions
1
string $style The type of style being applied
1
string $value The value being styled
1
array $attr Optional context information
1
array $displayOptions A map of display options to customize the behavior
1
string $header An HTML string
1
string $prefix The prepended HTML string
1
string $suffix The appended HTML string
1
array $headers Specify the headers as injection. Should be PHP _SERVER flavored.
1
string $userAgent Inject the User-Agent header. If null, will use HTTP_USER_AGENT
1
array $httpHeaders The headers to set. If null, then using PHP's _SERVER to extract
1
string $header The name of the header to retrieve. Can be HTTP compliant such as
1
array $cfHeaders List of HTTP headers
1
string $userAgent The user agent string to set.
1
string $type The type. Must be a self::DETECTION_TYPE_* constant. The default
1
string $name
1
array $arguments
1
null $userAgent deprecated
1
null $userAgent deprecated
1
null $httpHeaders deprecated
1
string $userAgent deprecated
1
array $httpHeaders deprecated
1
string $key
1
string $userAgent deprecated
1
string $httpHeaders deprecated
1
$regex
1
string $ver The string version, like "2.6.21.2152";
1
string $propertyName The name of the property. See self::getProperties() array
1
string $type Either self::VERSION_TYPE_STRING to get a string value or
1
string $data unprocessed response data from server
1
string $data unprocessed request data from client
1
string $val The string in which to expand entities.
1
mixed $val The PHP array
1
mixed $val The value to serialize
1
string $name The name (local part) of the XML element
1
string $type The XML schema type (local part) for the element
1
string $name_ns The namespace for the name of the XML element
1
string $type_ns The namespace for the type of the element
1
array $attributes The attributes to serialize as name=>value pairs
1
string $use The WSDL "use" (encoded|literal)
1
boolean $soapval Whether this is called from soapval.
1
string $body the XML of the SOAP body
1
array $namespaces optional the namespaces used in generating the body and headers
mixed $attributes associative array of attributes to add to element serialization
1
string $use The WSDL use value (encoded|literal)
1
array $curl_options User-specified cURL options
1
boolean $use_curl Whether to try to force cURL use
1
string $value The value of the header
1
integer $connection_timeout set connection timeout in seconds
1
array $digestRequest (keys must be nonce, nc, realm, qop)
1
string $soapaction
1
string $enc encoding style. supported values: gzip, deflate, or both
1
string $proxyhost use an empty string to remove proxy
1
string $proxyauthtype (basic|ntlm)
1
string $data The string to check.
1
string $lb
1
string $data HTTP body
1
string $cookie_str data for HTTP Cookie header
1
string $type the content type, MIME style
1
mixed $charset character set used for encoding (or false)
1
string $cookie_str content of cookie
1
array $cookies array with all cookies
1
boolean $secure is the send-content secure or not?
1
mixed $wsdl file path or URL (string), or wsdl instance (object)
1
string $data usually is the value of $HTTP_RAW_POST_DATA
1
string $data XML string
1
string $operation The operation to be invoked
1
array $request The array of parameter values
1
string $data unprocessed request data from client
1
string $methodname
1
string $in array of input values
1
string $out array of output values
1
string $name the name of the PHP function, class.method or class..method
1
mixed $namespace the element namespace for the method or false
1
mixed $soapaction the soapaction for the method or false
1
mixed $style optional (rpc|document) or false Note: when 'document' is specified, parameter and return wrappers are created for you automatically
1
mixed $use optional (encoded|literal) or false
1
string $documentation optional Description to include in WSDL
1
string $customResponseTagName optional Name of the outgoing response, default $name . 'Response'
1
string $faultcode
1
string $faultstring
1
string $faultactor
1
string $faultdetail
1
string $serviceName , name of the service
1
mixed $namespace optional 'tns' service namespace or false
1
mixed $endpoint optional URL of service endpoint or false
1
string $style optional (rpc|document) WSDL style (also specified by operation)
1
string $transport optional SOAP transport
1
mixed $schemaTargetNamespace optional 'types' targetNamespace for service schema or false
1
string $wsdl WSDL document URL
1
array $curl_options user-specified cURL options
1
boolean $use_curl try to use cURL
1
string $wsdl path or URL
1
string $portName WSDL port name
1
string $bindingType eg: soap, smtp, dime (only soap and soap12 are currently supported)
1
string $operation name of operation
1
string $soapAction soapAction for operation
1
string $type the type
1
string $ns namespace (not prefix) of the type
1
mixed $debug whether to put debug=1 in endpoint URL
1
string $type the type (element name) of the wrapper
1
array $parameters the parameter values for the SOAP call
1
string $bindingType (soap|soap12)
1
string $name name of value (part or element)
1
string $type XML schema type of value (type or element)
1
boolean $unqualified a kludge for what should be XML namespace form handling
1
string $phpType currently supported are array and struct (php assoc array)
1
array $elements e.g. array ( name => array(name=>'',type=>'') )
1
array $attrs e.g. array(array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'xsd:string[]'))
1
string $arrayType as namespace:name (xsd:string)
1
string $name operation (method) name
1
string $namespace optional The namespace for the operation
1
string $soapaction optional The soapaction for the operation
1
string $style (rpc|document) optional The style for the operation Note: when 'document' is specified, parameter and return wrappers are created for you automatically
1
string $use (encoded|literal) optional The use for the parameters (cannot mix right now)
1
string $documentation optional The description to include in the WSDL
1
string $customResponseTagName optional Name of the outgoing response
1
string $xml SOAP message
1
string $encoding character encoding scheme of message
1
string $method method for which XML is parsed (unused?)
1
string $decode_utf8 whether to decode UTF-8 to ISO-8859-1
1
string $value value to decode
1
string $type XML type to decode
1
string $typens XML type namespace to decode
1
integer $pos position in node tree
1
mixed $endpoint SOAP server or WSDL URL (string), or wsdl instance (object)
1
mixed $wsdl optional, set to 'wsdl' or true if using WSDL
1
string $proxyhost optional
1
string $proxyport optional
1
string $proxyusername optional
1
string $proxypassword optional
1
string $portName optional portName in WSDL document
1
string $operation SOAP server URL or path
1
mixed $params An array, associative or simple, of the parameters
1
string $namespace optional method namespace (WSDL can override)
1
string $soapAction optional SOAPAction value (WSDL can override)
1
boolean $rpcParams optional (no longer used)
1
string $style optional (rpc|document) the style to use when serializing parameters (WSDL can override)
1
string $use optional (encoded|literal|literal wrapped) the use when serializing parameters (WSDL can override)
1
string $msg a SOAPx4 soapmsg object
1
string $soapaction SOAPAction value
1
string $data unprocessed response data from server
1
string $endpoint The endpoint URL to use, or empty string or false to prevent override
1
mixed $headers String of XML with SOAP header content, or array of soapval objects for SOAP headers
1
array $certRequest (keys must be cainfofile (optional), sslcertfile, sslkeyfile, passphrase, verifypeer (optional), verifyhost (optional): see corresponding options in cURL docs)
1
string $enc HTTP encoding
1
boolean $use Whether to try to use cURL
1
boolean $rpcParams
1
string $contentTypeNew
1
string $name Cookie Name
1
string $value Cookie Value
1
array $cookies new cookies with which to update current ones
1
string $cache_dir directory for cache-files
1
integer $cache_lifetime lifetime for caching-files in seconds or 0 for unlimited
1
string $mode The open-mode ("r" or "w") or the file - affects lock-mode
1
wsdl $wsdl_instance The wsdl instance to add
1
mixed $params Build parameters that change the way the email
1
string $name Parameter name
1
string $value Parameter value
1
string $name Parameter name
1
string $data Either a string or
1
bool $isfile If true the first param should be treated
1
bool $append If true the text or file is appended to
1
string $data Either a string or the file name with the
1
bool $isfile A flag that determines whether $data is a
1
string $file The image file name OR image data itself
1
string $c_type The content type
1
string $name The filename of the image.
1
bool $isfile Whether $file is a filename or not.
1
string $content_id Desired Content-ID of MIME part
1
string $file The file name of the file to attach
1
string $c_type The content type
1
string $name The filename of the attachment
1
bool $isfile Whether $file is a filename or not. Defaults to true
1
string $encoding The type of encoding to use. Defaults to base64.
1
string $disposition The content-disposition of this file
1
string $charset The character set of attachment's content.
1
string $language The language of the attachment
1
string $location The RFC 2557.4 location of the attachment
1
string $n_encoding Encoding of the attachment's name in Content-Type
1
string $f_encoding Encoding of the attachment's filename
1
string $description Content-Description header
1
string $h_charset The character set of the headers e.g. filename
1
array $add_headers Additional part headers. Array keys can be in form
1
string $file_name Path of file to process
1
mixed &$obj The object to add the part to, or
1
string $text The text to add.
1
array $value The image information
1
array $value The attachment information
1
string $separation The separation between these two parts.
1
array $params The Build parameters passed to the
1
array $headers The extra headers that should be passed
1
bool $overwrite Overwrite the existing headers with new.
1
array $params The Build parameters passed to the
1
string $filename Output file location
1
array $params The Build parameters passed to the
1
array $headers The extra headers that should be passed
1
bool $overwrite Overwrite the existing headers with new.
1
string $filename Output file location
1
array $params The Build parameters passed to the
1
array $params Build parameters that change the way the email
1
resource $filename Output file where to save the message instead of
1
boolean $skip_head True if you want to return/save only the message