public function onAfterFind($fieldValue) { return !empty($fieldValue) ? Nav::findContent($fieldValue) : $fieldValue; }
public function testFindContent() { $this->assertEquals(false, Nav::findContent(0)); $this->assertEquals(null, Nav::findContent(1)); }