some ezc functions from templates/item.cpp moved to Item and ItemContent
methods HasAccess() HasReadAccess() and similar moved from System to Item and ItemContent
This commit is contained in:
@@ -81,13 +81,13 @@ return var_iter;
|
||||
}
|
||||
|
||||
|
||||
DirContainer::Iterator DirContainer::Begin()
|
||||
DirContainer::ConstIterator DirContainer::Begin() const
|
||||
{
|
||||
return table.begin();
|
||||
}
|
||||
|
||||
|
||||
DirContainer::Iterator DirContainer::End()
|
||||
DirContainer::ConstIterator DirContainer::End() const
|
||||
{
|
||||
return table.end();
|
||||
}
|
||||
@@ -255,6 +255,17 @@ return i->second;
|
||||
}
|
||||
|
||||
|
||||
DirContainer::ConstIterator DirContainer::FindId(long id) const
|
||||
{
|
||||
TableId::const_iterator i = table_id.find(id);
|
||||
|
||||
if( i == table_id.end() )
|
||||
return table.end();
|
||||
|
||||
return i->second;
|
||||
}
|
||||
|
||||
|
||||
|
||||
DirContainer::ParentIterator DirContainer::ParentBegin()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user