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
Mostra file Open project: partkeepr/PartKeepr Class Usage Examples

Public Methods

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

Method Details

getName() public method

Returns the name for this tip.
public getName ( ) : string
return string The name

setName() public method

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