Lines Matching full:if
15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
143 if (self::isManager($tree, $user)) {
147 if (self::isMember($tree, $user)) {
211 if ($module->accessLevel($tree, $interface) < self::accessLevel($tree, $user)) {
228 if ($family === null) {
232 if ($edit && $family->canEdit()) {
238 if ($family->canShow()) {
257 if ($header === null) {
261 if ($edit && $header->canEdit()) {
267 if ($header->canShow()) {
287 if ($individual === null) {
291 if ($edit && $individual->canEdit()) {
297 if ($chart && $individual->tree()->getPreference('SHOW_PRIVATE_RELATIONSHIPS') === '1') {
301 if ($individual->canShow()) {
320 if ($location === null) {
324 if ($edit && $location->canEdit()) {
330 if ($location->canShow()) {
349 if ($media === null) {
353 if ($edit && $media->canEdit()) {
359 if ($media->canShow()) {
378 if ($note === null) {
382 if ($edit && $note->canEdit()) {
388 if ($note->canShow()) {
407 if ($shared_note === null) {
411 if ($edit && $shared_note->canEdit()) {
417 if ($shared_note->canShow()) {
436 if ($record === null) {
440 if ($edit && $record->canEdit()) {
446 if ($record->canShow()) {
465 if ($repository === null) {
469 if ($edit && $repository->canEdit()) {
475 if ($repository->canShow()) {
494 if ($source === null) {
498 if ($edit && $source->canEdit()) {
504 if ($source->canShow()) {
523 if ($submitter === null) {
527 if ($edit && $submitter->canEdit()) {
533 if ($submitter->canShow()) {
552 if ($submission === null) {
556 if ($edit && $submission->canEdit()) {
562 if ($submission->canShow()) {