- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
public function getByAllParameters()
{
$fields = array_keys($this->getFields());
unset($fields[0]);
sort($fields);
if($this->getByConditions(array('id_user', 'status', 'card_bin', 'card_suffix', 'id_card_type', 'card_token'))){
$processing = new Processing();
$processing->id = $this->id_processing;
return $processing->getByPrimary() && $processing->enabled == 1;
}
return false;
}
wvxvw 11.09.2014 14:40 # +1