getReadOnly() public method

public getReadOnly ( ) : boolean
return boolean whether this map is read-only or not. Defaults to false.
コード例 #1
0
ファイル: TMapTest.php プロジェクト: pradosoft/prado
 public function testGetReadOnly()
 {
     $map = new TMap(null, true);
     self::assertEquals(true, $map->getReadOnly(), 'List is not read-only');
     $map = new TList(null, false);
     self::assertEquals(false, $map->getReadOnly(), 'List is read-only');
 }