code: public static function findPublishedRegularWithoutGuestsByPid($intPid, array $arrOptions=array())
  	{
  		$t = static::$strTable;
  		$arrColumns = array("$t.pid=? AND $t.type!='root' AND $t.type!='error_401' AND $t.type!='error_403' AND $t.type!='error_404'");
  
  		if (FE_USER_LOGGED_IN)
  		{
  			$arrColumns[] = "$t.guests=''";
  		}
  
  		if (!static::isPreviewMode($arrOptions))
  		{
  			$time = Date::floorToMinute();
  			$arrColumns[] = "($t.start='' OR $t.start<='$time') AND ($t.stop='' OR $t.stop>'" . ($time + 60) . "') AND $t.published='1'";
  		}
  
  		if (!isset($arrOptions['order']))
  		{
  			$arrOptions['order'] = "$t.sorting";
  		}
  
  		return static::findBy($arrColumns, $intPid, $arrOptions);
  	}
docs: Find all published regular pages by their parent IDs and exclude pages only visible for guests
  
  @param integer $intPid     The parent page's ID
  @param array   $arrOptions An optional options array
  
  @return Collection|PageModel[]|PageModel|null A collection of models or null if there are no pages