Documentation

Settings_SalesProcesses_Module_Model extends Base
in package

Settings SalesProcesses module model class.

Tags
copyright

YetiForce S.A.

license

YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)

Table of Contents

$value  : array<string|int, mixed>
__construct()  : mixed
Constructor.
checkRelatedToPotentialsLimit()  : bool
Checks if products are set to be narrowed to only those related to Opportunity.
get()  : mixed
Function to get the value for a given key.
getArray()  : array<string|int, mixed>
Function to get the array values for a given key.
getCleanInstance()  : self
Return clean instance of self.
getConfig()  : array<string|int, mixed>
Return sales processess configuration array.
getData()  : array<string|int, mixed>
Function to get all the values of the Object.
getForHtml()  : mixed
Function to get the html encoded value for a given key.
getForSql()  : mixed
Function to get the value if its safe to use for SQL Query (column).
getKeys()  : array<string|int, string>
Function to get keys.
has()  : bool
Function to check if the key exists.
isEmpty()  : bool
Function to check if the key is empty.
isLimitForModule()  : bool
Checks if limit can be applied to this module.
remove()  : mixed
Function to remove the value.
set()  : $this
Function to set the value for a given key.
setConfig()  : bool
Set sales processess config variable.
setData()  : $this
Function to set all the values.

Properties

$value

protected array<string|int, mixed> $value

Values

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $values = [] ]) : mixed
Parameters
$values : array<string|int, mixed> = []
Return values
mixed

checkRelatedToPotentialsLimit()

Checks if products are set to be narrowed to only those related to Opportunity.

public static checkRelatedToPotentialsLimit(mixed $moduleName) : bool
Parameters
$moduleName : mixed
Return values
bool

get()

Function to get the value for a given key.

public get(string $key) : mixed
Parameters
$key : string
Return values
mixed

Value for the given key

getArray()

Function to get the array values for a given key.

public getArray(string $key[, array<string|int, mixed> $value = [] ]) : array<string|int, mixed>
Parameters
$key : string
$value : array<string|int, mixed> = []
Return values
array<string|int, mixed>

getCleanInstance()

Return clean instance of self.

public static getCleanInstance() : self
Return values
self

getConfig()

Return sales processess configuration array.

public static getConfig([string $type = false ]) : array<string|int, mixed>
Parameters
$type : string = false
Return values
array<string|int, mixed>

getData()

Function to get all the values of the Object.

public getData() : array<string|int, mixed>
Return values
array<string|int, mixed>

getForHtml()

Function to get the html encoded value for a given key.

public getForHtml(string $key) : mixed
Parameters
$key : string
Return values
mixed

getForSql()

Function to get the value if its safe to use for SQL Query (column).

public getForSql(string $key[, bool $skipEmtpy = true ]) : mixed
Parameters
$key : string
$skipEmtpy : bool = true

Skip the check if string is empty

Return values
mixed

Value for the given key

getKeys()

Function to get keys.

public getKeys() : array<string|int, string>
Return values
array<string|int, string>

has()

Function to check if the key exists.

public has(string $key) : bool
Parameters
$key : string
Return values
bool

isEmpty()

Function to check if the key is empty.

public isEmpty(string $key) : bool
Parameters
$key : string
Return values
bool

isLimitForModule()

Checks if limit can be applied to this module.

public static isLimitForModule(mixed $moduleName) : bool
Parameters
$moduleName : mixed
Return values
bool

remove()

Function to remove the value.

public remove(string $key) : mixed
Parameters
$key : string
Return values
mixed

set()

Function to set the value for a given key.

public set(string $key, mixed $value) : $this
Parameters
$key : string
$value : mixed
Return values
$this

setConfig()

Set sales processess config variable.

public static setConfig(array<string|int, mixed> $param) : bool
Parameters
$param : array<string|int, mixed>
Return values
bool

setData()

Function to set all the values.

public setData(mixed $values) : $this
Parameters
$values : mixed
Return values
$this

        

Search results