Пример #1
0
 public function Analyse($title, Subarea $subarea = null, State $state = null, $date = null)
 {
     $this->name_table = "analysis";
     parent::Publication($title, $subarea, $state, $date);
     $this->comments = new ArrayObject();
     $this->setLink(StringManager::removeSpecialChars($title));
 }
Пример #2
0
 public function testEndsWith()
 {
     $this->assertTrue($this->string->endsWith('asdasd', 'asd'));
     $this->assertFalse($this->string->endsWith('dasdasd', 'sasd'));
 }
Пример #3
0
 private function formatName($name)
 {
     return StringManager::removeSpecialChars($name);
 }