Pages::not($ehto)

Version 4

Take from collection only the pages that do not match the given criteria.

Return value

Object Pages

Arguments

$criteria
Search criteria. See Pages::hae()

Full documentation

Get tasks from the project page that are NOT ready:

foreach ( $Project->tasks->not('status=Done') as $Task ){
    $txt .="<p>{$Task->date} {$Task->name}</p>";
}