| Class | Toy |
| In: |
app/models/toy.rb
|
| Parent: | ActiveRecord::Base |
| Original by: | Sysphonic |
| Authors: | MORITA Shintaro |
| Copyright: | Copyright (c) 2007 MORITA Shintaro, Sysphonic. All rights reserved. |
| License: | New BSD License (See LICENSE file) |
| URL: | http://sysphonic.com/ |
Toy class represents a desktop item.
*
| XTYPE_UNKNOWN | = | nil |
| XTYPE_ITEM | = | 'item' |
| XTYPE_COMMENT | = | 'comment' |
| XTYPE_WORKFLOW | = | 'workflow' |
| XTYPE_SCHEDULE | = | 'schedule' |
| XTYPE_LABEL | = | 'label' |
| XTYPE_FOLDER | = | 'folder' |
Gets if specified object is on the desktop or not.
| user: | Target User. |
| xtype: | xtype-attribute of the object. |
| target_id: | Id of the target object. |
| return: | If specified object is on the desktop or not. |