Element index for package Models

a f g i l p r s u z top

a

addFood
in file favorites_model.php, method Favorites_Model::addFood()
    Adds a favorite food to the user's profile.
addRecipe
in file favorites_model.php, method Favorites_Model::addRecipe()
    Adds a recipe to the user's profile.
addSpecial
in file favorites_model.php, method Favorites_Model::addSpecial()
    Adds a special to the user's profile.
top

f

Favorites_Model
in file favorites_model.php, class Favorites_Model
    Data model for user Favorites. Handles adding, deleting, and retrieving favorites/saved lists.
filterByZipCode
in file special_model.php, method Special_Model::filterByZipCode()
    Given a list of specials and zip code, filters the specials down to specials which are available in the given zip code.
favorites_model.php
procedural page favorites_model.php
top

g

getArray
in file user_model.php, method User_Model::getArray()
    Gets an associate array. Designed for easy passing data to template.
getRecipeById
in file recipe_model.php, method Recipe_Model::getRecipeById()
    Retrieves a recipe using its id.
getRecipesByIngredient
in file recipe_model.php, method Recipe_Model::getRecipesByIngredient()
    Retrieves a list of recipes that match $query (uses recipe ingredients to compare).
getRecipesByName
in file recipe_model.php, method Recipe_Model::getRecipesByName()
    Retrieves a list of all recipes that match $query (uses recipe name to compare).
getRecipesForSpecial
in file recipe_model.php, method Recipe_Model::getRecipesForSpecial()
    Retrieves a list of recipes which match the given special id.
getSavedFoods
in file favorites_model.php, method Favorites_Model::getSavedFoods()
    Retrieves a list of the user's favorite foods.
getSavedRecipeIds
in file favorites_model.php, method Favorites_Model::getSavedRecipeIds()
    Retrieves a list of the user's saved recipes (ids only).
getSavedRecipes
in file favorites_model.php, method Favorites_Model::getSavedRecipes()
    Retrieves a list of the user's saved recipes (including associative data).
getSavedSpecialIds
in file favorites_model.php, method Favorites_Model::getSavedSpecialIds()
    Retrieves a list of the user's saved specials (ids only).
getSavedSpecials
in file favorites_model.php, method Favorites_Model::getSavedSpecials()
    Retrieves a list of the user's saved specials (including associative data).
getSpecialById
in file special_model.php, method Special_Model::getSpecialById()
    Retrieves a single special by its id.
getSpecialsByArea
in file special_model.php, method Special_Model::getSpecialsByArea()
    Retrieves a list of specials available in the given zip code.
getSpecialsByIngredient
in file special_model.php, method Special_Model::getSpecialsByIngredient()
    Retrieves a list of specials which match $query by the ingredient(s) associated with the special.
getSpecialsByName
in file special_model.php, method Special_Model::getSpecialsByName()
    Retrieves a list of specials which match $query by name.
getSpecialsForRecipe
in file special_model.php, method Special_Model::getSpecialsForRecipe()
    Retrieves a list of associate
top

i

id
in file user_model.php, method User_Model::id()
    Gets the user's id.
isLoggedIn
in file user_model.php, method User_Model::isLoggedIn()
    Gets whether the user is logged in.
top

l

login
in file user_model.php, method User_Model::login()
    Logs in the user given username and password.
logout
in file user_model.php, method User_Model::logout()
    Logs out the currently logged in user.
top

p

password
in file user_model.php, method User_Model::password()
    Gets (or sets) the user's password.
top

r

Recipe_Model
in file recipe_model.php, class Recipe_Model
    Data model for recipes. Handles retrieving recipes based on various criteria.
register
in file user_model.php, method User_Model::register()
    Registers a new user using the given information.
removeFood
in file favorites_model.php, method Favorites_Model::removeFood()
    Removes a food from the user's profile.
removeRecipe
in file favorites_model.php, method Favorites_Model::removeRecipe()
    Removes a recipe from the user's profile.
removeSpecial
in file favorites_model.php, method Favorites_Model::removeSpecial()
    Removes a special from the user's profile.
recipe_model.php
procedural page recipe_model.php
top

s

Special_Model
in file special_model.php, class Special_Model
    Data model for specials. Handles retrieving specials based on various criteria.
special_model.php
procedural page special_model.php
top

u

user_model.php
procedural page user_model.php
username
in file user_model.php, method User_Model::username()
    Gets the user's username.
User_Model
in file user_model.php, class User_Model
    Data model for users. Handles all data-related user functions, and also handles login, logout, and registration.
top

z

zipCode
in file user_model.php, method User_Model::zipCode()
    Gets (or sets) the user's zip code.

Documentation generated on Tue, 26 May 2009 14:50:31 -0700 by phpDocumentor 1.4.1