What's the opposite of hide, please?

Author Message

Rainer Krauss

Wednesday 29 July 2009 7:58:14 am

Dear all,

I'm using the following command to hide individual nodes:

$operationResult = eZOperationHandler::execute( 'content',
'hide',
array( 'node_id' => $NodeID ),
null, true );

Now it could happen that I want to make them visible again. What's the command for that, please?

Best wishes,
Rainer

André R.

Wednesday 29 July 2009 8:23:44 am

It's a toggle function, just call it to unhide as well.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.