PHP Class Pressbooks\Modules\SearchAndReplace\Search

Show file Open project: pressbooks/pressbooks Class Usage Examples

Public Properties

Property Type Description
$error
$replace
$save
$search
$search_params
$source

Public Methods

Method Description
get_searches ( )
matches ( $pattern, $content, $id )
name ( )
replace ( $results )
replace_inline ( $id, $offset, $length, $replace )
search_and_replace ( $search, $replace, $limit, $offset, $orderby, $save = false )
search_for_pattern ( $search, $limit, $offset, $orderby )
valid_search ( $class )

Method Details

get_searches() static public method

static public get_searches ( )

matches() public method

public matches ( $pattern, $content, $id )

name() public method

public name ( )

replace() public method

public replace ( $results )

replace_inline() public method

public replace_inline ( $id, $offset, $length, $replace )

search_and_replace() public method

public search_and_replace ( $search, $replace, $limit, $offset, $orderby, $save = false )

search_for_pattern() public method

public search_for_pattern ( $search, $limit, $offset, $orderby )

Property Details

$error public property

public $error

$replace public property

public $replace

$save public property

public $save

$search_params public property

public $search_params

$source public property

public $source