Changeset 16804
- Timestamp:
- 03/31/09 12:50:41 (4 years ago)
- Files:
-
- plugins/sfBugsPlugin/lib/model/map/SfWebpanelBugsMapBuilder.php (modified) (3 diffs)
- plugins/sfBugsPlugin/lib/model/om/BaseSfWebpanelBugs.php (modified) (15 diffs)
- plugins/sfBugsPlugin/lib/model/om/BaseSfWebpanelBugsPeer.php (modified) (7 diffs)
- plugins/sfBugsPlugin/modules/sfWebPanelBugs/config (added)
- plugins/sfBugsPlugin/modules/sfWebPanelBugs/config/view.yml (added)
- plugins/sfBugsPlugin/modules/sfWebPanelBugs/templates/_bugs.php (modified) (2 diffs)
- plugins/sfBugsPlugin/modules/sfWebPanelBugs/templates/_list.php (modified) (1 diff)
- plugins/sfBugsPlugin/web/css/sfwebpanel_bugs.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfBugsPlugin/lib/model/map/SfWebpanelBugsMapBuilder.php
r12680 r16804 6 6 * 7 7 * 8 * This class was autogenerated by Propel 1.3.0 on:8 * This class was autogenerated by Propel 1.3.0-dev on: 9 9 * 10 * 11/06/08 12:58:0510 * 03/31/09 11:53:05 11 11 * 12 12 * … … 69 69 $tMap->addPrimaryKey('ID', 'Id', 'INTEGER', true, null); 70 70 71 $tMap->addColumn('TITLE', 'Title', 'VARCHAR', false, 50); 72 71 73 $tMap->addColumn('MODULE_NAME', 'ModuleName', 'VARCHAR', false, 150); 72 74 … … 77 79 $tMap->addColumn('DATE_ADDED', 'DateAdded', 'TIMESTAMP', false, null); 78 80 79 $tMap->addColumn('TITLE', 'Title', 'VARCHAR', false, 150);80 81 81 $tMap->addColumn('DESCRIPTION', 'Description', 'LONGVARCHAR', false, null); 82 82 plugins/sfBugsPlugin/lib/model/om/BaseSfWebpanelBugs.php
r12680 r16804 6 6 * 7 7 * 8 * This class was autogenerated by Propel 1.3.0 on:8 * This class was autogenerated by Propel 1.3.0-dev on: 9 9 * 10 * 11/06/08 12:58:0510 * 03/31/09 11:53:05 11 11 * 12 12 * @package plugins.sfBugsPlugin.lib.model.om … … 32 32 33 33 /** 34 * The value for the title field. 35 * @var string 36 */ 37 protected $title; 38 39 /** 34 40 * The value for the module_name field. 35 41 * @var string … … 54 60 */ 55 61 protected $date_added; 56 57 /**58 * The value for the title field.59 * @var string60 */61 protected $title;62 62 63 63 /** … … 117 117 { 118 118 return $this->id; 119 } 120 121 /** 122 * Get the [title] column value. 123 * 124 * @return string 125 */ 126 public function getTitle() 127 { 128 return $this->title; 119 129 } 120 130 … … 188 198 189 199 /** 190 * Get the [title] column value.191 *192 * @return string193 */194 public function getTitle()195 {196 return $this->title;197 }198 199 /**200 200 * Get the [description] column value. 201 201 * … … 236 236 return $this; 237 237 } // setId() 238 239 /** 240 * Set the value of [title] column. 241 * 242 * @param string $v new value 243 * @return SfWebpanelBugs The current object (for fluent API support) 244 */ 245 public function setTitle($v) 246 { 247 if ($v !== null) { 248 $v = (string) $v; 249 } 250 251 if ($this->title !== $v) { 252 $this->title = $v; 253 $this->modifiedColumns[] = SfWebpanelBugsPeer::TITLE; 254 } 255 256 return $this; 257 } // setTitle() 238 258 239 259 /** … … 347 367 348 368 /** 349 * Set the value of [title] column.350 *351 * @param string $v new value352 * @return SfWebpanelBugs The current object (for fluent API support)353 */354 public function setTitle($v)355 {356 if ($v !== null) {357 $v = (string) $v;358 }359 360 if ($this->title !== $v) {361 $this->title = $v;362 $this->modifiedColumns[] = SfWebpanelBugsPeer::TITLE;363 }364 365 return $this;366 } // setTitle()367 368 /**369 369 * Set the value of [description] column. 370 370 * … … 448 448 449 449 $this->id = ($row[$startcol + 0] !== null) ? (int) $row[$startcol + 0] : null; 450 $this-> module_name = ($row[$startcol + 1] !== null) ? (string) $row[$startcol + 1] : null;451 $this-> action_name = ($row[$startcol + 2] !== null) ? (string) $row[$startcol + 2] : null;452 $this->a pp_name = ($row[$startcol + 3] !== null) ? (string) $row[$startcol + 3] : null;453 $this-> date_added= ($row[$startcol + 4] !== null) ? (string) $row[$startcol + 4] : null;454 $this-> title= ($row[$startcol + 5] !== null) ? (string) $row[$startcol + 5] : null;450 $this->title = ($row[$startcol + 1] !== null) ? (string) $row[$startcol + 1] : null; 451 $this->module_name = ($row[$startcol + 2] !== null) ? (string) $row[$startcol + 2] : null; 452 $this->action_name = ($row[$startcol + 3] !== null) ? (string) $row[$startcol + 3] : null; 453 $this->app_name = ($row[$startcol + 4] !== null) ? (string) $row[$startcol + 4] : null; 454 $this->date_added = ($row[$startcol + 5] !== null) ? (string) $row[$startcol + 5] : null; 455 455 $this->description = ($row[$startcol + 6] !== null) ? (string) $row[$startcol + 6] : null; 456 456 $this->solved = ($row[$startcol + 7] !== null) ? (int) $row[$startcol + 7] : null; … … 774 774 break; 775 775 case 1: 776 return $this->getTitle(); 777 break; 778 case 2: 776 779 return $this->getModuleName(); 777 780 break; 778 case 2:781 case 3: 779 782 return $this->getActionName(); 780 783 break; 781 case 3:784 case 4: 782 785 return $this->getAppName(); 783 786 break; 784 case 4:787 case 5: 785 788 return $this->getDateAdded(); 786 break;787 case 5:788 return $this->getTitle();789 789 break; 790 790 case 6: … … 816 816 $result = array( 817 817 $keys[0] => $this->getId(), 818 $keys[1] => $this->get ModuleName(),819 $keys[2] => $this->get ActionName(),820 $keys[3] => $this->getA ppName(),821 $keys[4] => $this->get DateAdded(),822 $keys[5] => $this->get Title(),818 $keys[1] => $this->getTitle(), 819 $keys[2] => $this->getModuleName(), 820 $keys[3] => $this->getActionName(), 821 $keys[4] => $this->getAppName(), 822 $keys[5] => $this->getDateAdded(), 823 823 $keys[6] => $this->getDescription(), 824 824 $keys[7] => $this->getSolved(), … … 858 858 break; 859 859 case 1: 860 $this->setTitle($value); 861 break; 862 case 2: 860 863 $this->setModuleName($value); 861 864 break; 862 case 2:865 case 3: 863 866 $this->setActionName($value); 864 867 break; 865 case 3:868 case 4: 866 869 $this->setAppName($value); 867 870 break; 868 case 4:871 case 5: 869 872 $this->setDateAdded($value); 870 break;871 case 5:872 $this->setTitle($value);873 873 break; 874 874 case 6: … … 903 903 904 904 if (array_key_exists($keys[0], $arr)) $this->setId($arr[$keys[0]]); 905 if (array_key_exists($keys[1], $arr)) $this->set ModuleName($arr[$keys[1]]);906 if (array_key_exists($keys[2], $arr)) $this->set ActionName($arr[$keys[2]]);907 if (array_key_exists($keys[3], $arr)) $this->setA ppName($arr[$keys[3]]);908 if (array_key_exists($keys[4], $arr)) $this->set DateAdded($arr[$keys[4]]);909 if (array_key_exists($keys[5], $arr)) $this->set Title($arr[$keys[5]]);905 if (array_key_exists($keys[1], $arr)) $this->setTitle($arr[$keys[1]]); 906 if (array_key_exists($keys[2], $arr)) $this->setModuleName($arr[$keys[2]]); 907 if (array_key_exists($keys[3], $arr)) $this->setActionName($arr[$keys[3]]); 908 if (array_key_exists($keys[4], $arr)) $this->setAppName($arr[$keys[4]]); 909 if (array_key_exists($keys[5], $arr)) $this->setDateAdded($arr[$keys[5]]); 910 910 if (array_key_exists($keys[6], $arr)) $this->setDescription($arr[$keys[6]]); 911 911 if (array_key_exists($keys[7], $arr)) $this->setSolved($arr[$keys[7]]); … … 922 922 923 923 if ($this->isColumnModified(SfWebpanelBugsPeer::ID)) $criteria->add(SfWebpanelBugsPeer::ID, $this->id); 924 if ($this->isColumnModified(SfWebpanelBugsPeer::TITLE)) $criteria->add(SfWebpanelBugsPeer::TITLE, $this->title); 924 925 if ($this->isColumnModified(SfWebpanelBugsPeer::MODULE_NAME)) $criteria->add(SfWebpanelBugsPeer::MODULE_NAME, $this->module_name); 925 926 if ($this->isColumnModified(SfWebpanelBugsPeer::ACTION_NAME)) $criteria->add(SfWebpanelBugsPeer::ACTION_NAME, $this->action_name); 926 927 if ($this->isColumnModified(SfWebpanelBugsPeer::APP_NAME)) $criteria->add(SfWebpanelBugsPeer::APP_NAME, $this->app_name); 927 928 if ($this->isColumnModified(SfWebpanelBugsPeer::DATE_ADDED)) $criteria->add(SfWebpanelBugsPeer::DATE_ADDED, $this->date_added); 928 if ($this->isColumnModified(SfWebpanelBugsPeer::TITLE)) $criteria->add(SfWebpanelBugsPeer::TITLE, $this->title);929 929 if ($this->isColumnModified(SfWebpanelBugsPeer::DESCRIPTION)) $criteria->add(SfWebpanelBugsPeer::DESCRIPTION, $this->description); 930 930 if ($this->isColumnModified(SfWebpanelBugsPeer::SOLVED)) $criteria->add(SfWebpanelBugsPeer::SOLVED, $this->solved); … … 983 983 { 984 984 985 $copyObj->setTitle($this->title); 986 985 987 $copyObj->setModuleName($this->module_name); 986 988 … … 990 992 991 993 $copyObj->setDateAdded($this->date_added); 992 993 $copyObj->setTitle($this->title);994 994 995 995 $copyObj->setDescription($this->description); plugins/sfBugsPlugin/lib/model/om/BaseSfWebpanelBugsPeer.php
r12680 r16804 6 6 * 7 7 * 8 * This class was autogenerated by Propel 1.3.0 on:8 * This class was autogenerated by Propel 1.3.0-dev on: 9 9 * 10 * 11/06/08 12:58:0510 * 03/31/09 11:53:05 11 11 * 12 12 * @package plugins.sfBugsPlugin.lib.model.om … … 32 32 const ID = 'sf_webpanel_bugs.ID'; 33 33 34 /** the column name for the TITLE field */ 35 const TITLE = 'sf_webpanel_bugs.TITLE'; 36 34 37 /** the column name for the MODULE_NAME field */ 35 38 const MODULE_NAME = 'sf_webpanel_bugs.MODULE_NAME'; … … 43 46 /** the column name for the DATE_ADDED field */ 44 47 const DATE_ADDED = 'sf_webpanel_bugs.DATE_ADDED'; 45 46 /** the column name for the TITLE field */47 const TITLE = 'sf_webpanel_bugs.TITLE';48 48 49 49 /** the column name for the DESCRIPTION field */ … … 74 74 */ 75 75 private static $fieldNames = array ( 76 BasePeer::TYPE_PHPNAME => array ('Id', ' ModuleName', 'ActionName', 'AppName', 'DateAdded', 'Title', 'Description', 'Solved', ),77 BasePeer::TYPE_STUDLYPHPNAME => array ('id', ' moduleName', 'actionName', 'appName', 'dateAdded', 'title', 'description', 'solved', ),78 BasePeer::TYPE_COLNAME => array (self::ID, self:: MODULE_NAME, self::ACTION_NAME, self::APP_NAME, self::DATE_ADDED, self::TITLE, self::DESCRIPTION, self::SOLVED, ),79 BasePeer::TYPE_FIELDNAME => array ('id', ' module_name', 'action_name', 'app_name', 'date_added', 'title', 'description', 'solved', ),76 BasePeer::TYPE_PHPNAME => array ('Id', 'Title', 'ModuleName', 'ActionName', 'AppName', 'DateAdded', 'Description', 'Solved', ), 77 BasePeer::TYPE_STUDLYPHPNAME => array ('id', 'title', 'moduleName', 'actionName', 'appName', 'dateAdded', 'description', 'solved', ), 78 BasePeer::TYPE_COLNAME => array (self::ID, self::TITLE, self::MODULE_NAME, self::ACTION_NAME, self::APP_NAME, self::DATE_ADDED, self::DESCRIPTION, self::SOLVED, ), 79 BasePeer::TYPE_FIELDNAME => array ('id', 'title', 'module_name', 'action_name', 'app_name', 'date_added', 'description', 'solved', ), 80 80 BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, ) 81 81 ); … … 88 88 */ 89 89 private static $fieldKeys = array ( 90 BasePeer::TYPE_PHPNAME => array ('Id' => 0, ' ModuleName' => 1, 'ActionName' => 2, 'AppName' => 3, 'DateAdded' => 4, 'Title' => 5, 'Description' => 6, 'Solved' => 7, ),91 BasePeer::TYPE_STUDLYPHPNAME => array ('id' => 0, ' moduleName' => 1, 'actionName' => 2, 'appName' => 3, 'dateAdded' => 4, 'title' => 5, 'description' => 6, 'solved' => 7, ),92 BasePeer::TYPE_COLNAME => array (self::ID => 0, self:: MODULE_NAME => 1, self::ACTION_NAME => 2, self::APP_NAME => 3, self::DATE_ADDED => 4, self::TITLE=> 5, self::DESCRIPTION => 6, self::SOLVED => 7, ),93 BasePeer::TYPE_FIELDNAME => array ('id' => 0, ' module_name' => 1, 'action_name' => 2, 'app_name' => 3, 'date_added' => 4, 'title' => 5, 'description' => 6, 'solved' => 7, ),90 BasePeer::TYPE_PHPNAME => array ('Id' => 0, 'Title' => 1, 'ModuleName' => 2, 'ActionName' => 3, 'AppName' => 4, 'DateAdded' => 5, 'Description' => 6, 'Solved' => 7, ), 91 BasePeer::TYPE_STUDLYPHPNAME => array ('id' => 0, 'title' => 1, 'moduleName' => 2, 'actionName' => 3, 'appName' => 4, 'dateAdded' => 5, 'description' => 6, 'solved' => 7, ), 92 BasePeer::TYPE_COLNAME => array (self::ID => 0, self::TITLE => 1, self::MODULE_NAME => 2, self::ACTION_NAME => 3, self::APP_NAME => 4, self::DATE_ADDED => 5, self::DESCRIPTION => 6, self::SOLVED => 7, ), 93 BasePeer::TYPE_FIELDNAME => array ('id' => 0, 'title' => 1, 'module_name' => 2, 'action_name' => 3, 'app_name' => 4, 'date_added' => 5, 'description' => 6, 'solved' => 7, ), 94 94 BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, ) 95 95 ); … … 176 176 $criteria->addSelectColumn(SfWebpanelBugsPeer::ID); 177 177 178 $criteria->addSelectColumn(SfWebpanelBugsPeer::TITLE); 179 178 180 $criteria->addSelectColumn(SfWebpanelBugsPeer::MODULE_NAME); 179 181 … … 183 185 184 186 $criteria->addSelectColumn(SfWebpanelBugsPeer::DATE_ADDED); 185 186 $criteria->addSelectColumn(SfWebpanelBugsPeer::TITLE);187 187 188 188 $criteria->addSelectColumn(SfWebpanelBugsPeer::DESCRIPTION); plugins/sfBugsPlugin/modules/sfWebPanelBugs/templates/_bugs.php
r16802 r16804 12 12 } 13 13 ?> 14 <tr><td style="padding-left:20px; width:2 00px;"><?php echo $bug->getTitle(); ?></td><td align="right" style="padding-left:20px;">14 <tr><td style="padding-left:20px; width:280px;"><?php echo $bug->getTitle(); ?></td><td align="right" style="padding-left:20px;"> 15 15 <?php echo link_to_remote('View', array('url'=>'sfWebPanelBugs/view?id=' . $bug->getId().'&mod='.$module.'&act='.$action.'&app='.$app, 'update' => array('success' => 'sf_webpanel_bug_list'))) ?> 16 16 <?php … … 21 21 } 22 22 ?> 23 <?php echo link_to_remote('Remove', array('url'=>'sfWebPanelBugs/delete?id=' . $bug->getId().'&mod='.$module.'&act='.$action.'&app='.$app, 'update' => array('success' => 'sf_webpanel_bug_list') , array('confirm' => 'Are you sure you want to delete this bug?'))) ?></td></tr>23 <?php echo link_to_remote('Remove', array('url'=>'sfWebPanelBugs/delete?id=' . $bug->getId().'&mod='.$module.'&act='.$action.'&app='.$app, 'update' => array('success' => 'sf_webpanel_bug_list')), array('confirm' => 'Are you sure you want to delete this bug?')) ?></td></tr> 24 24 <?php endforeach; ?> 25 25 </table> plugins/sfBugsPlugin/modules/sfWebPanelBugs/templates/_list.php
r16802 r16804 10 10 11 11 <form id="sf_webpanel_bug_form"> 12 <table >12 <table class="sf_webpanel_send_table"> 13 13 <tbody> 14 14 <tr> plugins/sfBugsPlugin/web/css/sfwebpanel_bugs.css
r12679 r16804 1 1 #sfWebDebugbugsDetails {font-family:Tahoma; font-size:11px;} 2 2 #sfWebDebugbugsDetails h1 {font-size:12px; font-weight:bold; margin:0; padding:6px 0 6px 0;} 3 #sfWebDebugbugsDetails table {font-size:11px; width: 250px;}3 #sfWebDebugbugsDetails table {font-size:11px; width:450px;} 4 4 #sfWebDebugbugsDetails a:link {color:#0000ff; text-decoration:underline;} 5 5 #sfWebDebugbugsDetails a:visited {color:#55007f; text-decoration:underline;} 6 6 #sfWebDebugbugsDetails a:hover {text-decoration:none;} 7 7 #sfWebDebugbugsDetails #sf_webpanel_bug_form {font-size:11px;} 8 #sfWebDebugbugsDetails .sf_webpanel_bug_form {width:250px;}