Mixin class to support common name/id functions
Base Classes
|
|
Item
Base
Resource
CopySource
App.Management.Tabs
Traversable
ZDOM.Element
AccessControl.Owned.Owned
App.Undo.UndoSupport
|
Methods
|
|
_setId
getPhysicalPath
title_and_id
title_or_id
|
|
_setId
|
_setId ( self, id )
|
|
getPhysicalPath
|
getPhysicalPath ( self )
Returns a path (an immutable sequence of strings)
that can be used to access this object again
later, for example in a copy/paste operation. getPhysicalRoot()
and getPhysicalPath() are designed to operate together.
|
|
title_and_id
|
title_and_id ( self )
Utility that returns the title if it is not blank and the id
otherwise. If the title is not blank, then the id is included
in parens.
|
|
title_or_id
|
title_or_id ( self )
Utility that returns the title if it is not blank and the id
otherwise.
|
|