public function getPublicChildren()
	{
		$coll = $this->getChildren(PageLocalization::CN());

		foreach ($coll as $key => $child) {
			if ( ! $child instanceof PageLocalization) {
				$coll->remove($key);
				continue;
			}

			if ( ! $child->isPublic()) {
				$coll->remove($key);
				continue;
			}
		}

		return $coll;
	}
public function getPublicChildren()
	{
		$coll = $this->getChildren(PageLocalization::CN());

		foreach ($coll as $key => $child) {
			if ( ! $child instanceof PageLocalization) {
				$coll->remove($key);
				continue;
			}

			if ( ! $child->isPublic()) {
				$coll->remove($key);
				continue;
			}
		}

		return $coll;
	}
public function getPublicChildren ( ) { $ coll = $ this -> getChildren ( PageLocalization :: CN ( ) ) ; foreach ( $ coll as $ key => $ child ) { if ( ! $ child instanceof PageLocalization ) { $ coll -> remove ( $ key ) ; continue ; } if ( ! $ child -> isPublic ( ) ) { $ coll -> remove ( $ key ) ; continue ; } } return $ coll ; }
Loads only public children
@return ArrayCollection
Loads only public children