Index: branches/5.2.x/core/kernel/db/dbitem.php =================================================================== diff -u -N -r15474 -r15541 --- branches/5.2.x/core/kernel/db/dbitem.php (.../dbitem.php) (revision 15474) +++ branches/5.2.x/core/kernel/db/dbitem.php (.../dbitem.php) (revision 15541) @@ -1,6 +1,6 @@ Loaded = $is_loaded; } + /** + * Returns item's first status field + * + * @return string + * @access public + */ + public function getStatusField() + { + $status_fields = $this->Application->getUnitOption($this->Prefix, 'StatusField'); + + return array_shift($status_fields); + } + } \ No newline at end of file