ice framework documentation ice doc v1.10.1
Methods
  • initialize() : void
    Initialize token's relations, remove expired tokens.
  • create(variable $fields, variable $extra) : void
    Generate a new unique token and create the token.
  • deleteExpired() : void
    Deletes all expired tokens.
  • update(variable $fields, variable $extra) : void
    Generate a new unique token and update the token.
  • generate() : string
    Generate a new unique token.
Methods Details
  • public function initialize()

    Initialize token's relations, remove expired tokens.
  • public function create(variable $fields, variable $extra)

    Generate a new unique token and create the token.
  • public function deleteExpired()

    Deletes all expired tokens.
  • public function update(variable $fields, variable $extra)

    Generate a new unique token and update the token.
  • protected function generate()

    Generate a new unique token.