PHP Class PartKeepr\TipOfTheDayBundle\Entity\TipOfTheDay

Tips are stored on the central PartKeepr server in a wiki. However, we need to know a list of all tip pages because the API has a limit per day. So basically, we sync the tip names from the wiki to the local system several times a day and not each time an user logs in. Note: If you wish to link against a tip of the day, do it by name and not by id!
Inheritance: extends PartKeepr\CoreBundle\Entity\BaseEntity
Afficher le fichier Open project: partkeepr/PartKeepr Class Usage Examples

Méthodes publiques

Méthode Description
getName ( ) : string Returns the name for this tip.
setName ( string $name ) Sets the name for this tip.

Method Details

getName() public méthode

Returns the name for this tip.
public getName ( ) : string
Résultat string The name

setName() public méthode

Sets the name for this tip.
public setName ( string $name )
$name string The name