[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/propel/om/ -> Persistent.php (sommaire)

(pas de description)

Poids: 118 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Persistent:: (11 méthodes):
  getPrimaryKey()
  setPrimaryKey()
  isModified()
  isColumnModified()
  isNew()
  setNew()
  resetModified()
  isDeleted()
  setDeleted()
  delete()
  save()


Interface: Persistent  - X-Ref

This interface defines methods related to saving an object

getPrimaryKey()   X-Ref
getter for the object primaryKey.

return: ObjectKey the object primaryKey as an Object

setPrimaryKey($primaryKey)   X-Ref
Sets the PrimaryKey for the object.

param: mixed $primaryKey The new PrimaryKey object or string (result of PrimaryKey.toString()).
return: void

isModified()   X-Ref
Returns whether the object has been modified, since it was
last retrieved from storage.

return: boolean True if the object has been modified.

isColumnModified($col)   X-Ref
Has specified column been modified?

param: string $col
return: boolean True if $col has been modified.

isNew()   X-Ref
Returns whether the object has ever been saved.  This will
be false, if the object was retrieved from storage or was created
and then saved.

return: boolean True, if the object has never been persisted.

setNew($b)   X-Ref
Setter for the isNew attribute.  This method will be called
by Propel-generated children and Peers.

param: boolean $b the state of the object.

resetModified()   X-Ref
Resets (to false) the "modified" state for this object.

return: void

isDeleted()   X-Ref
Whether this object has been deleted.

return: boolean The deleted state of this object.

setDeleted($b)   X-Ref
Specify whether this object has been deleted.

param: boolean $b The deleted state of this object.
return: void

delete($con = null)   X-Ref
Deletes the object.

param: Connection $con
return: void

save($con = null)   X-Ref
Saves the object.

param: Connection $con
return: void



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7