Return to DbFieldSources.class.php CVS log | Up to [Local Repository] / db / prgsrc / drupal / modules / chgk_db / classes / DbField |
issue http://db.chgk.info/v2/node/10
<?php class DbFieldSources extends DbField { public function getName() { return 'Источник(и)'; } public function pack() { $this->value = preg_replace( '/\n\s+(\d+)/', '; $1', $this->value ); $this->value = preg_replace( '/^\s+/', '', $this->value ); $this->html=false; $this->getHtml(); } }