public $height; // int(4)
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
- /* Static get */
- function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('File_thumbnail',$k,$v); }
-
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
'primary key' => array('file_id'),
'foreign keys' => array(
'file_thumbnail_file_id_fkey' => array('file', array('file_id' => 'id')),
- ),
- 'unique keys' => array(
- 'file_thumbnail_url_key' => array('url'),
- ),
+ )
);
}
/**
* Save a thumbnail record for the referenced file record.
*
+ * FIXME: Add error handling
+ *
* @param int $file_id
* @param string $url
* @param int $width