source: pmb4.2/trunk/fuentes/pmb/classes/onto/skos/onto_skos_concept_item.class.php @ 815

Last change on this file since 815 was 815, checked in by jrpelegrina, 4 years ago

Initial release of pmb 4.2

  • Property svn:executable set to *
File size: 1006 bytes
Line 
1<?php
2// +-------------------------------------------------+
3// © 2002-2014 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
4// +-------------------------------------------------+
5// $Id: onto_skos_concept_item.class.php,v 1.1 2014-10-08 14:13:19 arenou Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".class.php")) die("no access");
8
9require_once($include_path.'/templates/onto/skos/onto_skos_concept_item.tpl.php');
10
11class onto_skos_concept_item extends onto_common_item {
12
13        public function get_form($prefix_url="",$flag="",$action="save") {
14                $form = parent::get_form($prefix_url,$flag,$action);
15                if($flag != "concept_selector_form"){
16                        $aut_link= new aut_link(AUT_TABLE_CONCEPT,onto_common_uri::get_id($this->get_uri()));
17                        $form = str_replace('<!-- aut_link -->', $aut_link->get_form(onto_common_uri::get_name_from_uri($this->get_uri(), $this->onto_class->pmb_name)) , $form);
18                }else {
19                        $form = str_replace('<!-- aut_link -->', "" , $form);
20                }
21                return $form;
22        }
23}
Note: See TracBrowser for help on using the repository browser.