PHP Class App\Ninja\Import\BaseTransformer

Inheritance: extends League\Fractal\TransformerAbstract
Afficher le fichier Open project: hillelcoren/invoice-ninja

Protected Properties

Свойство Type Description
$maps

Méthodes publiques

Méthode Description
__construct ( $maps ) BaseTransformer constructor.
getExpenseCategoryId ( $name ) : null
getVendorId ( $name ) : null

Méthodes protégées

Méthode Description
getClientId ( $name ) : null
getCountryId ( $name ) : null
getCountryIdBy2 ( $name ) : null
getDate ( $date, string $format = 'Y-m-d' ) : null
getFirstName ( $name ) : mixed
getInvoiceClientId ( $invoiceNumber ) : null
getInvoiceId ( $invoiceNumber ) : null
getInvoiceNumber ( $number ) : string
getLastName ( $name ) : mixed
getNumber ( $data, $field ) : integer
getProductId ( $name ) : null
getString ( $data, $field ) : string
hasClient ( $name ) : boolean
hasInvoice ( $invoiceNumber ) : boolean
hasProduct ( $key ) : boolean

Method Details

__construct() public méthode

BaseTransformer constructor.
public __construct ( $maps )
$maps

getClientId() protected méthode

protected getClientId ( $name ) : null
$name
Résultat null

getCountryId() protected méthode

protected getCountryId ( $name ) : null
$name
Résultat null

getCountryIdBy2() protected méthode

protected getCountryIdBy2 ( $name ) : null
$name
Résultat null

getDate() protected méthode

protected getDate ( $date, string $format = 'Y-m-d' ) : null
$date
$format string
Résultat null

getExpenseCategoryId() public méthode

public getExpenseCategoryId ( $name ) : null
$name
Résultat null

getFirstName() protected méthode

protected getFirstName ( $name ) : mixed
$name
Résultat mixed

getInvoiceClientId() protected méthode

protected getInvoiceClientId ( $invoiceNumber ) : null
$invoiceNumber
Résultat null

getInvoiceId() protected méthode

protected getInvoiceId ( $invoiceNumber ) : null
$invoiceNumber
Résultat null

getInvoiceNumber() protected méthode

protected getInvoiceNumber ( $number ) : string
$number
Résultat string

getLastName() protected méthode

protected getLastName ( $name ) : mixed
$name
Résultat mixed

getNumber() protected méthode

protected getNumber ( $data, $field ) : integer
$data
$field
Résultat integer

getProductId() protected méthode

protected getProductId ( $name ) : null
$name
Résultat null

getString() protected méthode

protected getString ( $data, $field ) : string
$data
$field
Résultat string

getVendorId() public méthode

public getVendorId ( $name ) : null
$name
Résultat null

hasClient() protected méthode

protected hasClient ( $name ) : boolean
$name
Résultat boolean

hasInvoice() protected méthode

protected hasInvoice ( $invoiceNumber ) : boolean
$invoiceNumber
Résultat boolean

hasProduct() protected méthode

protected hasProduct ( $key ) : boolean
$key
Résultat boolean

Property Details

$maps protected_oe property

protected $maps