mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
made _validate_row_conditions protected
This commit is contained in:
@@ -926,13 +926,13 @@ class parseCSV {
|
||||
/**
|
||||
* Validate a row against specified conditions
|
||||
*
|
||||
* @access public
|
||||
* @access protected
|
||||
* @param row array with values from a row
|
||||
* @param conditions specified conditions that the row must match
|
||||
*
|
||||
* @return true of false
|
||||
*/
|
||||
public function _validate_row_conditions ($row = array(), $conditions = null) {
|
||||
protected function _validate_row_conditions ($row = array(), $conditions = null) {
|
||||
if ( !empty($row) ) {
|
||||
if ( !empty($conditions) ) {
|
||||
$conditions = (strpos($conditions, ' OR ') !== false) ? explode(' OR ', $conditions) : array($conditions) ;
|
||||
|
||||
Reference in New Issue
Block a user