PHP Interface WordPress\ORM\ModelInterface

Author: Brandon Wamboldt ([email protected])
Afficher le fichier Open project: brandonwamboldt/wp-orm

Méthodes publiques

Méthode Description
get_searchable_fields ( ) : array Get an array of fields to search during a search query.
get_table ( ) : string Overwrite this in your concrete class. Returns the table name used to store models of this class.

Method Details

get_searchable_fields() public static méthode

Get an array of fields to search during a search query.
public static get_searchable_fields ( ) : array
Résultat array

get_table() public static méthode

Overwrite this in your concrete class. Returns the table name used to store models of this class.
public static get_table ( ) : string
Résultat string