Forums / Developer / What's the opposite of hide, please?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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