Lines Matching refs:trim

392 		$dbPath = trim( $dbPath );
417 $line = trim( $line );
440 $value = trim( $value );
443 $username = trim( substr( $value, 0, $sep ) );
444 $password = trim( substr( $value, $sep + 1 ) );
469 $this->driver = strtolower( trim( $this->db->getAttribute(
600 $patterns = explode( "\n", trim( $this->getConf( 'enablepages' ) ) );
608 $pattern = trim( $pattern );
636 $table = preg_replace( '/[^\w]/', '_', trim( $table ) );
650 if ( trim( $this->options['mayview'] ) === '' )
653 if ( trim( $this->options['mayinspect'] ) === '' )
656 $this->options['view'] = trim( $this->options['view'] );
659 else if ( !preg_match( '/^SELECT\s/i', trim( $this->options['view'] ) ) )
665 if ( ctype_digit( trim( $this->options['rowsperpage'] ) ) )
690 $action = strtolower( trim( $matches[1] ) );
886 $session['rowACLs'][$rowid] = trim( $row[0] );
1376 if ( !$rowid || !ctype_digit( trim( $rowid ) ) )
1534 $customQuery = trim( $customQuery );
1647 if ( trim( $customQuery ) === '' )
1693 $customQuery = trim( $customQuery );
1713 if ( trim( $state['sort'] ) === '' )
1720 'sort' => trim( $state['sort'] ),
1734 $updated[$name] = ( $name == 'sort' ) ? trim( $m[2] )
1984 $sort = trim( strtok( $sort, ',' ) );
1991 $label = trim( $meta[$column]['options']['headerlabel'] );
1993 if ( ( $href = trim( $meta[$column]['options']['headerlink'] ) ) !== '' )
2387 $role = trim( $role );
2634 $sort = preg_split( '/[,\s]+/', trim( $state['sort'] ) );
2642 $col = trim( $col );
2750 $in = trim( $in );
2762 $tail = trim( $matches[3] );
2777 $argument = trim( substr( $tail, 0, $pos ) );
2937 $argument = trim( $filter['arg'] );
3124 $mark = ( trim( $filter['arg'] ) === '' ) ? ' unused' : '';
3147 if ( ( count( $filters ) > 1 ) || ( trim( $argument ) !== '' ) ||
3321 $name = strtolower( trim( $name ) );
3350 $line = trim( $line );
3395 $part .= trim( substr( $line, $pos, $end - $pos ) );
3447 $href = trim( $href );
3507 $line = trim( $line );
3576 if ( ctype_digit( trim( $value ) ) )
3601 ( trim( $value ) === '' ) )
3626 $group = trim( substr( $name, 6 ) );
3637 else if ( ctype_digit( trim( $name ) ) )
3657 $rawType = trim( $rawType );
3658 $typeName = strtolower( trim( strtok( $rawType, ' ' ) ) );
3780 $selectable = trim( $selectable );
3799 $readerSQL = trim( strtok( '' ) );
3814 if ( !ctype_digit( trim( $related[0] ) ) )
3817 $selectables[intval( $related[0] )] = trim( $related[1] );
3890 'column' => trim( $colName ),
3895 'label' => trim( $label ),
4023 if ( preg_match( '/^(n|no|f|false|off)$/i', trim( $in ) ) )
4026 if ( preg_match( '/^(y|yes|t|true|on)$/i', trim( $in ) ) )
4031 if ( ctype_digit( trim( $in ) ) )
4410 $user = trim( $lock[0] );
4551 $column = trim( $column );
4726 list( $date, $time ) = preg_split( '/t|(\s+)/i', trim( $in ) );
4728 list( $year, $month, $day ) = explode( '-', trim( $date ) );
4729 list( $hour, $minute, $second ) = explode( ':', trim( $time ) );
4825 $rules = preg_split( '/\s*;\s*/', trim( $in ) );
4839 $objects = preg_split( '/\s*,\s*/', trim( $matches[2] ) );
4897 $group = trim( strtok( $matches[1], '.' ) );
4898 $arg = trim( strtok( '' ) );
4970 $default = $this->replaceMarkup( trim( $def['options']['default'] ) );
5064 if ( trim( $temp['name'] ) === '' )
5074 if ( ( trim( $value ) === '' ) || ( $value == '0000-00-00' ) )
5087 if ( ( trim( $value ) === '' ) ||
5095 $value = trim( $value );
5112 $value = trim( $value );
5300 if ( trim( $value ) !== '' )
5349 if ( strtolower( trim( $major ) ) !== 'image' )
5378 $value = trim( $value );
5390 if ( ctype_digit( trim( $value ) ) )
5472 if ( !is_array( $value ) || ( trim( implode( '', $value ) ) === '' ) )
5478 $value = trim( $value );
5494 $value = strtolower( trim( $value ) );
5512 $value = strtolower( trim( $value ) );
5528 $value = strtolower( trim( $value ) );
5538 $date = trim( $date );
5539 $time = trim( $time );
5540 $tail = trim( $tail );
5547 if ( trim( $date ) === $this->getLang( 'today' ) )
5575 $value = trim( $value );
5592 $value = trim( $value );
5605 if ( trim( $temp[1] ) === '' ) unset( $temp[1] );
5606 if ( trim( $temp[0] ) === '' ) unset( $temp[0] );
5618 $value = trim( $value );
5634 $value = trim( $value );
5651 $value = trim( $value );
5677 $value = implode( ';', $this->parseACLRule( trim( $value ), true ) );
5687 if ( trim( $value ) === '' )
5921 else if ( preg_match( '/-?\d+/', trim( $value ) ) )
5922 $value = strftime( strtok( trim( $this->getConf( 'dformat' ) ), ' ' ), intval( $value ) );
5928 else if ( preg_match( '/-?\d+/', trim( $value ) ) )
6022 if ( ( trim( $value ) === '' ) && $mayBeSkipped )
6031 if ( preg_match( '#^<p>((.|\n)+)</p>$#i', trim( $value ), $matches ) )
6039 return trim( $value );
6050 $temp = is_array( $value ) ? trim( implode( '', $value ) )
6078 if ( ( trim( $value ) === '' ) && $mayBeSkipped )
6084 if ( ( trim( $value ) === '' ) && $mayBeSkipped )
6091 if ( ( trim( $value ) === '' ) && $mayBeSkipped )
6105 return strftime( strtok( trim( $this->getConf( 'dformat' ) ), ' ' ), $value );