Example #1
0
 /**
  * Gets the interface path if specified for table.
  * If not, will return 'propel.om.Persistent'.
  * @return     string
  */
 public static function getInterface(Table $table)
 {
     $interface = $table->getInterface();
     if ($interface === null && !$table->isReadOnly()) {
         $interface = "propel.om.Persistent";
     }
     return $interface;
 }