Blame view

framework/tests/model/DataObjectTest_Namespaced.php 342 Bytes
0084d336   Administrator   Importers CRUD
1
2
3
4
5
6
7
8
9
10
11
12
13
  <?php
  
  namespace DataObjectTest;
  
  /**
   * Right now this is only used in DataListTest, but extending it to DataObjectTest in the future would make sense.
   * Note that it was deliberated named to include "\N" to try and trip bad code up.
   */
  class NamespacedClass extends \DataObject {
  	private static $db = array(
  		'Name' => 'Varchar',
  	);
  }