Friday 06 June 2008 12:39:30 pm
Hello there,
Is there an inexpensive method of converting class IDs to identifiers and identifiers to IDs? There seems to be something in the cache dir, that looks like this: <?php
$identifier_hash = array( "folder" => "1",
"user_group" => "3",
"user" => "4",
"image" => "5",
"link" => "11",
"file" => "12",
"comment" => "13",
"common_ini_settings" => "14",
"template_look" => "15"
... );
?>
And the only converting method using this is eZContentObjectTreeNode::classIDByIdentifier()... Couldn't spot the opposite... Shouldn't this be held somewhere in the session, so that conversion for any purposes doesn't require file system or db access?
--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu
|