Class: Favorite_Service_Controller

Source Location: /tinymvc/myapp/controllers/favorite_service.php

Class Overview [line 9]

AbstractController
   |
   --Favorite_Service_Controller

Handles requests for information about the user's favorite foods, saved specials, and saved recipes.

Author(s):

  • Monte Ohrt

Version:

Copyright:

Variables

Constants

Methods


Inherited Variables

Inherited Constants

Inherited Methods



Class Details

Handles requests for information about the user's favorite foods, saved specials, and saved recipes.

Tags:

[ Top ]


Class Variables


Class Methods

addFood

void addFood( string $foodName)

[line 120]

Adds a favorite food to the user's profile.

Parameters:

  • string $foodName - The food item to add.

[ Top ]

addRecipe

void addRecipe( int $recipeId)

[line 49]

Adds a recipe to the user's profile.

Parameters:

  • int $recipeId - The recipe id to add.

[ Top ]

addSpecial

void addSpecial( int $specialId)

[line 25]

Adds a special to the user's profile.

Parameters:

  • int $specialId - The special id to add.

[ Top ]

removeFood

void removeFood( string $foodName)

[line 144]

Removes a favorite food from the user's profile.

Parameters:

  • string $foodName - The food item to remove.

[ Top ]

removeRecipe

void removeRecipe( int $recipeId)

[line 97]

Removes a recipe from the user's profile.

Parameters:

  • int $recipeId - The recipe id to remove.

[ Top ]

removeSpecial

void removeSpecial( int $specialId)

[line 74]

Removes a special from the user's profile.

Parameters:

  • int $specialId - The special id to remove.

[ Top ]


Class Constants


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