Tripal
Public Member Functions | List of all members
TripalTermController Class Reference
Inheritance diagram for TripalTermController:
Inheritance graph
[legend]
Collaboration diagram for TripalTermController:
Collaboration graph
[legend]

Public Member Functions

 __construct ($entityType)
 
 create (array $values=[])
 
 delete ($ids, DatabaseTransaction $transaction=NULL)
 
 save ($entity, DatabaseTransaction $transaction=NULL)
 

Detailed Description

TripalTermController extends DrupalDefaultEntityController.

Our subclass of DrupalDefaultEntityController lets us add a few important create, update, and delete methods.

Member Function Documentation

◆ delete()

TripalTermController::delete (   $ids,
DatabaseTransaction  $transaction = NULL 
)

Delete a single entity.

◆ save()

TripalTermController::save (   $entity,
DatabaseTransaction  $transaction = NULL 
)

Saves the custom fields using drupal_write_record().


The documentation for this class was generated from the following file: