| | 628 | |
| | 629 | == Pobranie tekstowej wartości cechy == |
| | 630 | {{{ |
| | 631 | require_once('./classes/FeatureBox/FeaturesHelper.inc'); |
| | 632 | $featureID = 1; // id cechy (features.featid) |
| | 633 | $tblnam = 'contacts'; // nazwa tabeli bazowej (kolumna features.tblnam) zazwyczaj jest to nazwa tabeli w bazie, której dotyczą cechy wyjątkiem są dokumenty gdzie nazwa to types_of_documents_view |
| | 634 | $tbl_id = 1; // identyfikator obiektu w systemie np. dla klientów jest to contid (contacts.contid) |
| | 635 | $value = FeaturesHelper::getTextValue($featureID, $tblnam, $tbl_id); |
| | 636 | }}} |