public function getRestriction_child() { return $this->restriction & self::RESTRICTION_CHILD ? 1 : 0; }