SheaDawson\Blocks\Model\ContentBlock

Synopsis

class ContentBlock extends Block {
  • // members
  • private static string $table_name = "ContentBlock";
  • private static array $db = ;
}

Hierarchy

Members

private

  • $db
  • $table_name

protected

public

Methods

public

  • fieldLabels()
  • plural_name() — If the plural name is set in a private static $plural_name, it cannot be changed using the translation files for some reason. Fix it by defining a method that handles the translation.
  • singular_name() — If the singular name is set in a private static $singular_name, it cannot be changed using the translation files for some reason. Fix it by defining a method that handles the translation.

Inherited from SheaDawson\Blocks\Model\Block

public