[symfony] save($con = null) delete($con = null)

(int) save($con = null)

Stores the object in the database.  If the object is new,
it inserts it; otherwise an update is performed.  This method
wraps the doSave() worker method in a transaction.
@param Connection $con
@return int The number of rows affected by this insert/update and any referring fk objects' save() operations.
@throws PropelException
@see doSave()

(void) delete($con = null)

Removes this object from datastore and sets delete attribute.
@param Connection $con
@return void
@throws PropelException
@see BaseObject::setDeleted()
@see BaseObject::isDeleted()

トラックバック(0)

このブログ記事を参照しているブログ一覧: save($con = null) delete($con = null)

このブログ記事に対するトラックバックURL: http://www.pistolfly.jp/mt/mt-tb-alt.cgi/36

コメントする